Class: Agris::Api::Inventory::SpecificDeliveryTicketExtract

Inherits:
Object
  • Object
show all
Includes:
XmlModel
Defined in:
lib/agris/api/inventory/specific_delivery_ticket_extract.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlModel

included

Constructor Details

#initialize(ticket_location, ticket_number) ⇒ SpecificDeliveryTicketExtract

Returns a new instance of SpecificDeliveryTicketExtract.



10
11
12
13
# File 'lib/agris/api/inventory/specific_delivery_ticket_extract.rb', line 10

def initialize(ticket_location, ticket_number)
  @ticket_location = ticket_location
  @ticket_number = ticket_number
end

Instance Attribute Details

#ticket_locationObject

Returns the value of attribute ticket_location.



8
9
10
# File 'lib/agris/api/inventory/specific_delivery_ticket_extract.rb', line 8

def ticket_location
  @ticket_location
end

#ticket_numberObject

Returns the value of attribute ticket_number.



8
9
10
# File 'lib/agris/api/inventory/specific_delivery_ticket_extract.rb', line 8

def ticket_number
  @ticket_number
end