Class: Quintly::QQL
- Inherits:
-
Struct
- Object
- Struct
- Quintly::QQL
- Defined in:
- lib/quintly/qql.rb
Constant Summary collapse
- SERVICE_URL =
'https://api.quintly.com'
- API_VERSION =
'v0.9'
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Instance Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration
6 7 8 |
# File 'lib/quintly/qql.rb', line 6 def configuration @configuration end |
Instance Method Details
#metric(metric) ⇒ Object
10 11 12 |
# File 'lib/quintly/qql.rb', line 10 def metric(metric) call('metric', metric) end |
#query(qql_query) ⇒ Object
14 15 16 |
# File 'lib/quintly/qql.rb', line 14 def query(qql_query) call('qqlQuery', qql_query) end |