Module: Gurunavi::AreaCodes
- Included in:
- Client
- Defined in:
- lib/gurunavi/master/area_codes.rb
Instance Method Summary collapse
- #g_area_large_search(options = {}) ⇒ Object
- #g_area_middle_search(options = {}) ⇒ Object
- #g_area_small_search(options = {}) ⇒ Object
Instance Method Details
#g_area_large_search(options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/gurunavi/master/area_codes.rb', line 5 def g_area_large_search(={}) response = connection.get do |req| req.url "master/GAreaLargeSearchAPI/#{@api_version}", end return_error_or_body(response, response.body.garea_large) end |
#g_area_middle_search(options = {}) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/gurunavi/master/area_codes.rb', line 13 def g_area_middle_search(={}) response = connection.get do |req| req.url "master/GAreaMiddleSearchAPI/#{@api_version}", end return_error_or_body(response, response.body.garea_middle) end |
#g_area_small_search(options = {}) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/gurunavi/master/area_codes.rb', line 21 def g_area_small_search(={}) response = connection.get do |req| req.url "master/GAreaSmallSearchAPI/#{@api_version}", end return_error_or_body(response, response.body.garea_small) end |