Class: AircraftTypeRequest
- Inherits:
-
Object
- Object
- AircraftTypeRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
AircraftType
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type = nil) ⇒ AircraftTypeRequest
constructor
A new instance of AircraftTypeRequest.
- #post ⇒ Object
Constructor Details
#initialize(type = nil) ⇒ AircraftTypeRequest
Returns a new instance of AircraftTypeRequest.
12 13 14 |
# File 'lib/FlightXML2REST.rb', line 12 def initialize(type = nil) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/FlightXML2REST.rb', line 11 def type @type end |
Instance Method Details
#post ⇒ Object
15 16 17 |
# File 'lib/FlightXML2REST.rb', line 15 def post "type=#@type" end |