Module: Gurunavi::Categories

Included in:
Client
Defined in:
lib/gurunavi/master/categories.rb

Instance Method Summary collapse

Instance Method Details

#category_large_search(options = {}) ⇒ Object



5
6
7
8
9
10
# File 'lib/gurunavi/master/categories.rb', line 5

def category_large_search(options={})
  response = connection.get do |req|
    req.url "master/CategoryLargeSearchAPI/#{@api_version}", options
  end
  return_error_or_body(response, response.body.category_l)
end

#category_small_search(options = {}) ⇒ Object



13
14
15
16
17
18
# File 'lib/gurunavi/master/categories.rb', line 13

def category_small_search(options={})
  response = connection.get do |req|
    req.url "master/CategorySmallSearchAPI/#{@api_version}", options
  end
  return_error_or_body(response, response.body.category_s)
end