Class: Grafana::Client
- Inherits:
-
BaseClient
- Object
- BaseClient
- Grafana::Client
- Defined in:
- lib/grafana/client.rb
Constant Summary collapse
- VERSION =
Grafana::CLIENT_VERSION
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.grafana_url ⇒ Object
Returns the value of attribute grafana_url.
Class Method Summary collapse
Methods inherited from BaseClient
#delete, #get, #initialize, #post
Constructor Details
This class inherits a constructor from Grafana::BaseClient
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
11 12 13 |
# File 'lib/grafana/client.rb', line 11 def api_key @api_key end |
.grafana_url ⇒ Object
Returns the value of attribute grafana_url.
11 12 13 |
# File 'lib/grafana/client.rb', line 11 def grafana_url @grafana_url end |
Class Method Details
.config {|_self| ... } ⇒ Object
13 14 15 |
# File 'lib/grafana/client.rb', line 13 def config yield self end |