Module: Plotly
- Defined in:
- lib/plotly/axis.rb,
lib/plotly/data.rb,
lib/plotly/plot.rb,
lib/plotly/client.rb,
lib/plotly/layout.rb,
lib/plotly/version.rb,
lib/plotly/castable.rb,
lib/plotly/exportable.rb,
lib/plotly/offline/html.rb,
lib/plotly/offline/exportable.rb
Defined Under Namespace
Modules: Castable, Exportable, Offline Classes: Axis, Client, Data, Layout, Plot
Constant Summary collapse
- VERSION =
'0.1.0'.freeze
Class Attribute Summary collapse
-
.client ⇒ Object
readonly
Returns the value of attribute client.
Class Method Summary collapse
Class Attribute Details
.client ⇒ Object (readonly)
Returns the value of attribute client.
7 8 9 |
# File 'lib/plotly/client.rb', line 7 def client @client end |
Class Method Details
.auth(username, api_key) ⇒ Object
9 10 11 |
# File 'lib/plotly/client.rb', line 9 def auth(username, api_key) @client = Client.new(username, api_key) end |