Class: ActiveShipping::CPPWSRateResponse

Inherits:
RateResponse show all
Includes:
CPPWSErrorResponse
Defined in:
lib/active_shipping/carriers/canada_post_pws.rb

Instance Attribute Summary

Attributes included from CPPWSErrorResponse

#error_code

Attributes inherited from RateResponse

#rates

Attributes inherited from Response

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

Instance Method Summary collapse

Methods included from CPPWSErrorResponse

#handle_error

Methods inherited from Response

#success?, #test?

Constructor Details

#initialize(success, message, params = {}, options = {}) ⇒ CPPWSRateResponse

Returns a new instance of CPPWSRateResponse.



827
828
829
830
# File 'lib/active_shipping/carriers/canada_post_pws.rb', line 827

def initialize(success, message, params = {}, options = {})
  handle_error(message, options)
  super
end