Exception: Oodler::OodlerError

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

Direct Known Subclasses

OodleArgumentError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ OodlerError

Returns a new instance of OodlerError.



19
20
21
22
# File 'lib/oodler.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/oodler.rb', line 17

def data
  @data
end