Class: ActiveShipping::Correios::CorreiosRateResponse

Inherits:
RateResponse show all
Defined in:
lib/active_shipping/carriers/correios.rb

Instance Attribute Summary collapse

Attributes inherited from RateResponse

#rates

Attributes inherited from Response

#message, #params, #request, #test, #xml

Instance Method Summary collapse

Methods inherited from Response

#success?, #test?

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, message, params = {}, options = {})
  @raw_responses = options[:raw_responses]
  @urls = options[:urls]
  super
end

Instance Attribute Details

#raw_responsesObject (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

#urlsObject (readonly)

Returns the value of attribute urls.



151
152
153
# File 'lib/active_shipping/carriers/correios.rb', line 151

def urls
  @urls
end