Class: HotelBeds::PurchaseConfirm::Response
- Inherits:
-
Action::Response
- Object
- Action::Response
- HotelBeds::PurchaseConfirm::Response
- Defined in:
- lib/hotel_beds/purchase_confirm/response.rb
Instance Attribute Summary
Attributes inherited from Action::Response
#body, #errors, #headers, #request
Instance Method Summary collapse
Methods inherited from Action::Response
#initialize, #inspect, #success?
Constructor Details
This class inherits a constructor from HotelBeds::Action::Response
Instance Method Details
#purchase ⇒ Object
7 8 9 |
# File 'lib/hotel_beds/purchase_confirm/response.rb', line 7 def purchase HotelBeds::Parser::Purchase.new(body.at_css("Purchase")).to_model end |