Class: Kooaba::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/kooaba/query.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @image_path = options[:image_path]
  @max_results = options[:max_results]
  @user_data = options[:user_data]
end

Instance Attribute Details

#image_pathObject

Returns the value of attribute image_path.



4
5
6
# File 'lib/kooaba/query.rb', line 4

def image_path
  @image_path
end

#max_resultsObject

Returns the value of attribute max_results.



5
6
7
# File 'lib/kooaba/query.rb', line 5

def max_results
  @max_results
end

#user_dataObject

Returns the value of attribute user_data.



6
7
8
# File 'lib/kooaba/query.rb', line 6

def user_data
  @user_data
end