Class: ZipcodeInfoStruct
- Inherits:
-
Object
- Object
- ZipcodeInfoStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#county ⇒ Object
Returns the value of attribute county.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(city = nil, county = nil, latitude = nil, longitude = nil, state = nil) ⇒ ZipcodeInfoStruct
constructor
A new instance of ZipcodeInfoStruct.
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
#city ⇒ Object
Returns the value of attribute city.
2634 2635 2636 |
# File 'lib/FlightXML2REST.rb', line 2634 def city @city end |
#county ⇒ Object
Returns the value of attribute county.
2634 2635 2636 |
# File 'lib/FlightXML2REST.rb', line 2634 def county @county end |
#latitude ⇒ Object
Returns the value of attribute latitude.
2634 2635 2636 |
# File 'lib/FlightXML2REST.rb', line 2634 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
2634 2635 2636 |
# File 'lib/FlightXML2REST.rb', line 2634 def longitude @longitude end |
#state ⇒ Object
Returns the value of attribute state.
2634 2635 2636 |
# File 'lib/FlightXML2REST.rb', line 2634 def state @state end |