Exception: FriendlyShipping::Services::UpsFreight::ApiError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/friendly_shipping/services/ups_freight/api_error.rb

Instance Attribute Summary

Attributes inherited from ApiError

#cause

Instance Method Summary collapse

Constructor Details

#initialize(cause) ⇒ ApiError

Returns a new instance of ApiError.

Parameters:

  • cause (RestClient::Exception)


10
11
12
# File 'lib/friendly_shipping/services/ups_freight/api_error.rb', line 10

def initialize(cause)
  super cause, parse_message(cause)
end