Class: ReactiveShipping::DeliveryDateEstimatesResponse
- Defined in:
- lib/reactive_shipping/delivery_date_estimates_response.rb
Instance Attribute Summary collapse
-
#delivery_estimates ⇒ Object
readonly
Returns the value of attribute delivery_estimates.
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ DeliveryDateEstimatesResponse
constructor
A new instance of DeliveryDateEstimatesResponse.
Methods inherited from Response
Constructor Details
#initialize(success, message, params = {}, options = {}) ⇒ DeliveryDateEstimatesResponse
Returns a new instance of DeliveryDateEstimatesResponse.
5 6 7 8 |
# File 'lib/reactive_shipping/delivery_date_estimates_response.rb', line 5 def initialize(success, , params = {}, = {}) @delivery_estimates = Array([:delivery_estimates]) super end |
Instance Attribute Details
#delivery_estimates ⇒ Object (readonly)
Returns the value of attribute delivery_estimates.
3 4 5 |
# File 'lib/reactive_shipping/delivery_date_estimates_response.rb', line 3 def delivery_estimates @delivery_estimates end |