Class: ActiveShipping::NewZealandPost::NewZealandPostRateResponse
- Inherits:
-
RateResponse
- Object
- Response
- RateResponse
- ActiveShipping::NewZealandPost::NewZealandPostRateResponse
- Defined in:
- lib/active_shipping/carriers/new_zealand_post.rb
Instance Attribute Summary collapse
-
#raw_responses ⇒ Object
readonly
Returns the value of attribute raw_responses.
Attributes inherited from RateResponse
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ NewZealandPostRateResponse
constructor
A new instance of NewZealandPostRateResponse.
Methods inherited from Response
Constructor Details
#initialize(success, message, params = {}, options = {}) ⇒ NewZealandPostRateResponse
Returns a new instance of NewZealandPostRateResponse.
38 39 40 41 |
# File 'lib/active_shipping/carriers/new_zealand_post.rb', line 38 def initialize(success, , params = {}, = {}) @raw_responses = [:raw_responses] super end |
Instance Attribute Details
#raw_responses ⇒ Object (readonly)
Returns the value of attribute raw_responses.
36 37 38 |
# File 'lib/active_shipping/carriers/new_zealand_post.rb', line 36 def raw_responses @raw_responses end |