Class: FlightAwareError

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Overview

Error

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject

Returns the value of attribute error.



3
4
5
# File 'lib/FlightXML2REST.rb', line 3

def error
  @error
end