Class: ReactiveShipping::CPPWSRateResponse

Inherits:
RateResponse show all
Includes:
CPPWSErrorResponse
Defined in:
lib/reactive_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/reactive_shipping/carriers/canada_post_pws.rb', line 827

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