Class: ZipcodeInfoStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(city = nil, county = nil, latitude = nil, longitude = nil, state = nil) ⇒ ZipcodeInfoStruct

Returns a new instance of ZipcodeInfoStruct.



2635
2636
2637
2638
2639
2640
2641
# File 'lib/FlightXML2REST.rb', line 2635

def initialize(city = nil, county = nil, latitude = nil, longitude = nil, state = nil)
  @city = city
  @county = county
  @latitude = latitude
  @longitude = longitude
  @state = state
end

Instance Attribute Details

#cityObject

Returns the value of attribute city.



2634
2635
2636
# File 'lib/FlightXML2REST.rb', line 2634

def city
  @city
end

#countyObject

Returns the value of attribute county.



2634
2635
2636
# File 'lib/FlightXML2REST.rb', line 2634

def county
  @county
end

#latitudeObject

Returns the value of attribute latitude.



2634
2635
2636
# File 'lib/FlightXML2REST.rb', line 2634

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



2634
2635
2636
# File 'lib/FlightXML2REST.rb', line 2634

def longitude
  @longitude
end

#stateObject

Returns the value of attribute state.



2634
2635
2636
# File 'lib/FlightXML2REST.rb', line 2634

def state
  @state
end