Method: ActiveShipping::Correios::CorreiosResponse#rate_response
- Defined in:
- lib/active_shipping/carriers/correios.rb
#rate_response ⇒ Object
168 169 170 171 172 173 |
# File 'lib/active_shipping/carriers/correios.rb', line 168 def rate_response @rates = rates CorreiosRateResponse.new(true, nil, , ) rescue => error CorreiosRateResponse.new(false, error., {}, ) end |