Method: ActiveShipping::CPPWSRegisterResponse#initialize

Defined in:
lib/active_shipping/carriers/canada_post_pws.rb

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

Returns a new instance of CPPWSRegisterResponse.



879
880
881
882
883
# File 'lib/active_shipping/carriers/canada_post_pws.rb', line 879

def initialize(success, message, params = {}, options = {})
  handle_error(message, options)
  super
  @token_id = options[:token_id]
end