Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::RateResponse::Error
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::RateResponse::Error
- Defined in:
- lib/shipengine/domain/rates/get_with_shipment_details.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#error_source ⇒ Object
readonly
Returns the value of attribute error_source.
-
#error_type ⇒ Object
readonly
Returns the value of attribute error_type.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(error_source:, error_type:, error_code:, message:) ⇒ Error
constructor
type [“carrier” | “order_source” | “shipengine”] error_source type [“account_status” | “business_rules” | “validation” | “security” | “system” | “integrations”] error_type.
Constructor Details
#initialize(error_source:, error_type:, error_code:, message:) ⇒ Error
type [“carrier” | “order_source” | “shipengine”] error_source type [“account_status” | “business_rules” | “validation” | “security” | “system” | “integrations”] error_type
335 336 337 338 339 340 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 335 def initialize(error_source:, error_type:, error_code:, message:) @error_source = error_source @error_type = error_type @error_code = error_code @message = end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
329 330 331 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 329 def error_code @error_code end |
#error_source ⇒ Object (readonly)
Returns the value of attribute error_source.
329 330 331 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 329 def error_source @error_source end |
#error_type ⇒ Object (readonly)
Returns the value of attribute error_type.
329 330 331 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 329 def error_type @error_type end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
329 330 331 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 329 def @message end |