Class: Edi::Walmart::ShipWithWalmart::DownloadResult
- Inherits:
-
Data
- Object
- Data
- Edi::Walmart::ShipWithWalmart::DownloadResult
- Defined in:
- app/services/edi/walmart/ship_with_walmart.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#label_data ⇒ Object
readonly
Returns the value of attribute label_data.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, label_data: nil, content_type: nil, error: nil) ⇒ DownloadResult
constructor
A new instance of DownloadResult.
Constructor Details
#initialize(success: nil, label_data: nil, content_type: nil, error: nil) ⇒ DownloadResult
Returns a new instance of DownloadResult.
33 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 33 def initialize(success: nil, label_data: nil, content_type: nil, error: nil) = super |
Instance Attribute Details
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
32 33 34 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32 def content_type @content_type end |
#error ⇒ Object (readonly)
Returns the value of attribute error
32 33 34 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32 def error @error end |
#label_data ⇒ Object (readonly)
Returns the value of attribute label_data
32 33 34 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32 def label_data @label_data end |
#success ⇒ Object (readonly)
Returns the value of attribute success
32 33 34 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32 def success @success end |