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.



2639
2640
2641
2642
2643
2644
2645
# File 'lib/FlightXML2REST.rb', line 2639

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.



2638
2639
2640
# File 'lib/FlightXML2REST.rb', line 2638

def city
  @city
end

#countyObject

Returns the value of attribute county.



2638
2639
2640
# File 'lib/FlightXML2REST.rb', line 2638

def county
  @county
end

#latitudeObject

Returns the value of attribute latitude.



2638
2639
2640
# File 'lib/FlightXML2REST.rb', line 2638

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



2638
2639
2640
# File 'lib/FlightXML2REST.rb', line 2638

def longitude
  @longitude
end

#stateObject

Returns the value of attribute state.



2638
2639
2640
# File 'lib/FlightXML2REST.rb', line 2638

def state
  @state
end