Exception: FlightCaster::FlightCasterError

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

Direct Known Subclasses

OldAPI

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ FlightCasterError

Returns a new instance of FlightCasterError.



19
20
21
22
# File 'lib/flightcaster.rb', line 19

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



17
18
19
# File 'lib/flightcaster.rb', line 17

def data
  @data
end