Class: YANAPI::CategoryQuery
- Includes:
- Common
- Defined in:
- lib/yanapi/category_query.rb
Constant Summary collapse
- VALID_PARAMS =
[:category_id, :category_name, :date_range, :region, :results, :sort, :start, :type ]
- REQUIRED_PARAMS =
Semantics differ here: OR, not AND.
[[:category_id, :category_name]]
Constants inherited from Query
Query::HOST, Query::SERVICE, Query::SERVICE_VERSION, Query::VALID_OUTPUT_FORMATS
Instance Method Summary collapse
-
#initialize(params) ⇒ CategoryQuery
constructor
A new instance of CategoryQuery.
Methods inherited from Query
Constructor Details
#initialize(params) ⇒ CategoryQuery
Returns a new instance of CategoryQuery.
21 22 23 24 |
# File 'lib/yanapi/category_query.rb', line 21 def initialize(params) params[:method] = 'getByCategory' super end |