Class: NinjaVanApi::Waybill

Inherits:
Base
  • Object
show all
Defined in:
lib/ninja_van_api/objects/waybill.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#to_hash, #to_ostruct

Constructor Details

#initialize(content) ⇒ Waybill

Returns a new instance of Waybill.



7
8
9
# File 'lib/ninja_van_api/objects/waybill.rb', line 7

def initialize(content)
  @pdf = content
end

Instance Attribute Details

#pdfObject (readonly)

Returns the value of attribute pdf.



5
6
7
# File 'lib/ninja_van_api/objects/waybill.rb', line 5

def pdf
  @pdf
end