Class: HotelBeds::PurchaseFlush::Response

Inherits:
Action::Response show all
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

#initialize, #inspect

Constructor Details

This class inherits a constructor from HotelBeds::Action::Response

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/hotel_beds/purchase_flush/response.rb', line 6

def success?
  super && body.at_css("Status").content == "Y"
end