Class: Edi::MftGateway::ShippingOptionResult
- Inherits:
-
Data
- Object
- Data
- Edi::MftGateway::ShippingOptionResult
- Defined in:
- app/services/edi/mft_gateway/shipping_option_result.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#saturday ⇒ Object
readonly
Returns the value of attribute saturday.
-
#signature ⇒ Object
readonly
Returns the value of attribute signature.
-
#sps_code ⇒ Object
readonly
Returns the value of attribute sps_code.
-
#sps_scac ⇒ Object
readonly
Returns the value of attribute sps_scac.
Instance Method Summary collapse
-
#initialize(code:, name:, sps_scac: nil, saturday: false, signature: false, sps_code: nil) ⇒ ShippingOptionResult
constructor
A new instance of ShippingOptionResult.
Constructor Details
#initialize(code:, name:, sps_scac: nil, saturday: false, signature: false, sps_code: nil) ⇒ ShippingOptionResult
Returns a new instance of ShippingOptionResult.
5 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 5 def initialize(code:, name:, sps_scac: nil, saturday: false, signature: false, sps_code: nil) = super |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code
4 5 6 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4 def code @code end |
#name ⇒ Object (readonly)
Returns the value of attribute name
4 5 6 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4 def name @name end |
#saturday ⇒ Object (readonly)
Returns the value of attribute saturday
4 5 6 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4 def saturday @saturday end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature
4 5 6 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4 def signature @signature end |
#sps_code ⇒ Object (readonly)
Returns the value of attribute sps_code
4 5 6 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4 def sps_code @sps_code end |
#sps_scac ⇒ Object (readonly)
Returns the value of attribute sps_scac
4 5 6 |
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4 def sps_scac @sps_scac end |