Class: Ean::Hotel
- Inherits:
-
Object
- Object
- Ean::Hotel
- Defined in:
- lib/ean/hotel.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
Returns the value of attribute request.
-
#response ⇒ Object
Returns the value of attribute response.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(method = "") ⇒ Hotel
constructor
A new instance of Hotel.
Constructor Details
#initialize(method = "") ⇒ Hotel
Returns a new instance of Hotel.
11 12 13 |
# File 'lib/ean/hotel.rb', line 11 def initialize(method="") @request = Ean::Request.new(method) end |
Instance Attribute Details
#request ⇒ Object
Returns the value of attribute request.
5 6 7 |
# File 'lib/ean/hotel.rb', line 5 def request @request end |
#response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/ean/hotel.rb', line 5 def response @response end |
Class Method Details
.list(params = {}) ⇒ Object
7 8 9 |
# File 'lib/ean/hotel.rb', line 7 def self.list(params={}) instance = self.new("list") end |