Class: FlightAwareError
- Inherits:
-
Object
- Object
- FlightAwareError
- Defined in:
- lib/FlightXML2REST.rb
Overview
Error
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error = nil) ⇒ FlightAwareError
constructor
A new instance of FlightAwareError.
Constructor Details
#initialize(error = nil) ⇒ FlightAwareError
Returns a new instance of FlightAwareError.
4 5 6 |
# File 'lib/FlightXML2REST.rb', line 4 def initialize(error = nil) @error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
3 4 5 |
# File 'lib/FlightXML2REST.rb', line 3 def error @error end |