Class: ActiveShipping::Correios::CorreiosRateResponse
- Inherits:
-
RateResponse
- Object
- Response
- RateResponse
- ActiveShipping::Correios::CorreiosRateResponse
- Defined in:
- lib/active_shipping/carriers/correios.rb
Instance Attribute Summary collapse
-
#raw_responses ⇒ Object
readonly
Returns the value of attribute raw_responses.
-
#urls ⇒ Object
readonly
Returns the value of attribute urls.
Attributes inherited from RateResponse
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ CorreiosRateResponse
constructor
A new instance of CorreiosRateResponse.
Methods inherited from Response
Constructor Details
#initialize(success, message, params = {}, options = {}) ⇒ CorreiosRateResponse
Returns a new instance of CorreiosRateResponse.
153 154 155 156 157 |
# File 'lib/active_shipping/carriers/correios.rb', line 153 def initialize(success, , params = {}, = {}) @raw_responses = [:raw_responses] @urls = [:urls] super end |
Instance Attribute Details
#raw_responses ⇒ Object (readonly)
Returns the value of attribute raw_responses.
151 152 153 |
# File 'lib/active_shipping/carriers/correios.rb', line 151 def raw_responses @raw_responses end |
#urls ⇒ Object (readonly)
Returns the value of attribute urls.
151 152 153 |
# File 'lib/active_shipping/carriers/correios.rb', line 151 def urls @urls end |