Class: ShipEngine::Domain::Labels::CreateFromRate::Response::LabelDownload
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Labels::CreateFromRate::Response::LabelDownload
- Defined in:
- lib/shipengine/domain/labels/create_from_rate.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
readonly
Returns the value of attribute href.
-
#pdf ⇒ Object
readonly
Returns the value of attribute pdf.
-
#png ⇒ Object
readonly
Returns the value of attribute png.
-
#zpl ⇒ Object
readonly
Returns the value of attribute zpl.
Instance Method Summary collapse
-
#initialize(href:, pdf:, png:, zpl:) ⇒ LabelDownload
constructor
A new instance of LabelDownload.
Constructor Details
#initialize(href:, pdf:, png:, zpl:) ⇒ LabelDownload
Returns a new instance of LabelDownload.
109 110 111 112 113 114 |
# File 'lib/shipengine/domain/labels/create_from_rate.rb', line 109 def initialize(href:, pdf:, png:, zpl:) @href = href @pdf = pdf @png = png @zpl = zpl end |
Instance Attribute Details
#href ⇒ Object (readonly)
Returns the value of attribute href.
107 108 109 |
# File 'lib/shipengine/domain/labels/create_from_rate.rb', line 107 def href @href end |
#pdf ⇒ Object (readonly)
Returns the value of attribute pdf.
107 108 109 |
# File 'lib/shipengine/domain/labels/create_from_rate.rb', line 107 def pdf @pdf end |
#png ⇒ Object (readonly)
Returns the value of attribute png.
107 108 109 |
# File 'lib/shipengine/domain/labels/create_from_rate.rb', line 107 def png @png end |
#zpl ⇒ Object (readonly)
Returns the value of attribute zpl.
107 108 109 |
# File 'lib/shipengine/domain/labels/create_from_rate.rb', line 107 def zpl @zpl end |