Class: ZipcodeInfoRequest
- Inherits:
-
Object
- Object
- ZipcodeInfoRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
ZipcodeInfo
Instance Attribute Summary collapse
-
#zipcode ⇒ Object
Returns the value of attribute zipcode.
Instance Method Summary collapse
-
#initialize(zipcode = nil) ⇒ ZipcodeInfoRequest
constructor
A new instance of ZipcodeInfoRequest.
- #post ⇒ Object
Constructor Details
#initialize(zipcode = nil) ⇒ ZipcodeInfoRequest
Returns a new instance of ZipcodeInfoRequest.
2608 2609 2610 |
# File 'lib/FlightXML2REST.rb', line 2608 def initialize(zipcode = nil) @zipcode = zipcode end |
Instance Attribute Details
#zipcode ⇒ Object
Returns the value of attribute zipcode.
2607 2608 2609 |
# File 'lib/FlightXML2REST.rb', line 2607 def zipcode @zipcode end |
Instance Method Details
#post ⇒ Object
2611 2612 2613 |
# File 'lib/FlightXML2REST.rb', line 2611 def post "zipcode=#@zipcode" end |