Class: HotelBeds::PurchaseFlush::Response
- Inherits:
-
Action::Response
- Object
- Action::Response
- HotelBeds::PurchaseFlush::Response
- Defined in:
- lib/hotel_beds/purchase_flush/response.rb
Instance Attribute Summary
Attributes inherited from Action::Response
#body, #errors, #headers, #request
Instance Method Summary collapse
Methods inherited from Action::Response
Constructor Details
This class inherits a constructor from HotelBeds::Action::Response
Instance Method Details
#success? ⇒ Boolean
6 7 8 |
# File 'lib/hotel_beds/purchase_flush/response.rb', line 6 def success? super && body.at_css("Status").content == "Y" end |