Class: TailOwnerStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(location = nil, location2 = nil, owner = nil, website = nil) ⇒ TailOwnerStruct

Returns a new instance of TailOwnerStruct.



2595
2596
2597
2598
2599
2600
# File 'lib/FlightXML2REST.rb', line 2595

def initialize(location = nil, location2 = nil, owner = nil, website = nil)
  @location = location
  @location2 = location2
  @owner = owner
  @website = website
end

Instance Attribute Details

#locationObject

Returns the value of attribute location.



2594
2595
2596
# File 'lib/FlightXML2REST.rb', line 2594

def location
  @location
end

#location2Object

Returns the value of attribute location2.



2594
2595
2596
# File 'lib/FlightXML2REST.rb', line 2594

def location2
  @location2
end

#ownerObject

Returns the value of attribute owner.



2594
2595
2596
# File 'lib/FlightXML2REST.rb', line 2594

def owner
  @owner
end

#websiteObject

Returns the value of attribute website.



2594
2595
2596
# File 'lib/FlightXML2REST.rb', line 2594

def website
  @website
end