Class: Kooaba::Query
- Inherits:
-
Object
- Object
- Kooaba::Query
- Defined in:
- lib/kooaba/query.rb
Instance Attribute Summary collapse
-
#image_path ⇒ Object
Returns the value of attribute image_path.
-
#max_results ⇒ Object
Returns the value of attribute max_results.
-
#user_data ⇒ Object
Returns the value of attribute user_data.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(options = {}) ⇒ Query
Returns a new instance of Query.
8 9 10 11 12 |
# File 'lib/kooaba/query.rb', line 8 def initialize( = {}) @image_path = [:image_path] @max_results = [:max_results] @user_data = [:user_data] end |
Instance Attribute Details
#image_path ⇒ Object
Returns the value of attribute image_path.
4 5 6 |
# File 'lib/kooaba/query.rb', line 4 def image_path @image_path end |
#max_results ⇒ Object
Returns the value of attribute max_results.
5 6 7 |
# File 'lib/kooaba/query.rb', line 5 def max_results @max_results end |
#user_data ⇒ Object
Returns the value of attribute user_data.
6 7 8 |
# File 'lib/kooaba/query.rb', line 6 def user_data @user_data end |