Class: Elong::API::GHotel::Search
- Defined in:
- lib/elong/api/ghotel/search.rb
Overview
Elong Global Hotel Search API Class
Instance Method Summary collapse
-
#detail(params = {}) ⇒ Elong::Response
View hotel details data.
-
#list(params = {}) ⇒ Elong::Response
Search and list globalehotel data.
-
#room(params = {}) ⇒ Elong::Response
Check hotel room status(type, available numbers).
Methods inherited from Base
#buildAPI, #initialize, #request
Constructor Details
This class inherits a constructor from Elong::API::Base
Instance Method Details
#detail(params = {}) ⇒ Elong::Response
View hotel details data
17 18 19 |
# File 'lib/elong/api/ghotel/search.rb', line 17 def detail(params={}) self.request(__method__, params) end |
#list(params = {}) ⇒ Elong::Response
Search and list globalehotel data
10 11 12 |
# File 'lib/elong/api/ghotel/search.rb', line 10 def list(params={}) self.request(__method__, params) end |
#room(params = {}) ⇒ Elong::Response
Check hotel room status(type, available numbers)
24 25 26 |
# File 'lib/elong/api/ghotel/search.rb', line 24 def room(params={}) self.request(__method__, params) end |