Class: Rakuten::Api::Travel
- Inherits:
-
Object
- Object
- Rakuten::Api::Travel
- Defined in:
- lib/rakuten/api/travel.rb
Constant Summary collapse
- Search =
"Rakuten::Api::Travel.search"- DetailSearch =
"Rakuten::Api::Travel.detail_search"- VacantSearch =
"Rakuten::Api::Travel.vacant_search"- AreaCode =
"Rakuten::Api::Travel.area_code"- KeywordSearch =
"Rakuten::Api::Travel.keyword_search"- ChainList =
"Rakuten::Api::Travel.chain_list"- Ranking =
"Rakuten::Api::Travel.ranking"
Class Method Summary collapse
-
.area_code(opts = {}) ⇒ Object
Travel Area Code API (version:2013-10-24).
-
.chain_list(opts = {}) ⇒ Object
Travel Chain List API (version:2013-10-24).
-
.detail_search(opts = {}) ⇒ Object
Travel Detail Search API (version:2013-10-24).
-
.keyword_search(opts = {}) ⇒ Object
Travel Keyword Search API (version:2013-10-24).
-
.ranking(opts = {}) ⇒ Object
Travel Ranking API (version:2013-10-24).
-
.search(opts = {}) ⇒ Object
Travel Search API (version:2013-10-24).
-
.vacant_search(opts = {}) ⇒ Object
Travel Vacant Search API (version:2013-10-24).
Class Method Details
.area_code(opts = {}) ⇒ Object
Travel Area Code API (version:2013-10-24)
33 34 35 |
# File 'lib/rakuten/api/travel.rb', line 33 def area_code(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Travel/GetAreaClass/20131024", Rakuten::Api.merge(opts)) end |
.chain_list(opts = {}) ⇒ Object
Travel Chain List API (version:2013-10-24)
43 44 45 |
# File 'lib/rakuten/api/travel.rb', line 43 def chain_list(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Travel/GetHotelChainList/20131024", Rakuten::Api.merge(opts)) end |
.detail_search(opts = {}) ⇒ Object
Travel Detail Search API (version:2013-10-24)
23 24 25 |
# File 'lib/rakuten/api/travel.rb', line 23 def detail_search(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Travel/HotelDetailSearch/20131024", Rakuten::Api.merge(opts)) end |
.keyword_search(opts = {}) ⇒ Object
Travel Keyword Search API (version:2013-10-24)
38 39 40 |
# File 'lib/rakuten/api/travel.rb', line 38 def keyword_search(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Travel/KeywordHotelSearch/20131024", Rakuten::Api.merge(opts)) end |
.ranking(opts = {}) ⇒ Object
Travel Ranking API (version:2013-10-24)
48 49 50 |
# File 'lib/rakuten/api/travel.rb', line 48 def ranking(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/Travel/HotelRanking/20131024", Rakuten::Api.merge(opts)) end |