Class: ShipEngine::Domain::Labels::CreateFromShipmentDetails::Response::LabelDownload

Inherits:
Object
  • Object
show all
Defined in:
lib/shipengine/domain/labels/create_from_shipment_details.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_shipment_details.rb', line 109

def initialize(href:, pdf:, png:, zpl:)
  @href = href
  @pdf = pdf
  @png = png
  @zpl = zpl
end

Instance Attribute Details

#hrefObject (readonly)

Returns the value of attribute href.



107
108
109
# File 'lib/shipengine/domain/labels/create_from_shipment_details.rb', line 107

def href
  @href
end

#pdfObject (readonly)

Returns the value of attribute pdf.



107
108
109
# File 'lib/shipengine/domain/labels/create_from_shipment_details.rb', line 107

def pdf
  @pdf
end

#pngObject (readonly)

Returns the value of attribute png.



107
108
109
# File 'lib/shipengine/domain/labels/create_from_shipment_details.rb', line 107

def png
  @png
end

#zplObject (readonly)

Returns the value of attribute zpl.



107
108
109
# File 'lib/shipengine/domain/labels/create_from_shipment_details.rb', line 107

def zpl
  @zpl
end