Class: Shipping::CartonLabelGenerator::Result
- Inherits:
-
Data
- Object
- Data
- Shipping::CartonLabelGenerator::Result
- Defined in:
- app/services/shipping/carton_label_generator.rb
Instance Attribute Summary collapse
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#pdf ⇒ Object
readonly
Returns the value of attribute pdf.
-
#shipment ⇒ Object
readonly
Returns the value of attribute shipment.
Instance Method Summary collapse
-
#initialize(pdf: nil, shipment: nil, file_name: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(pdf: nil, shipment: nil, file_name: nil) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/shipping/carton_label_generator.rb', line 3 def initialize(pdf: nil, shipment: nil, file_name: nil) = super |
Instance Attribute Details
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name
2 3 4 |
# File 'app/services/shipping/carton_label_generator.rb', line 2 def file_name @file_name end |
#pdf ⇒ Object (readonly)
Returns the value of attribute pdf
2 3 4 |
# File 'app/services/shipping/carton_label_generator.rb', line 2 def pdf @pdf end |
#shipment ⇒ Object (readonly)
Returns the value of attribute shipment
2 3 4 |
# File 'app/services/shipping/carton_label_generator.rb', line 2 def shipment @shipment end |