Exception: Octopussy::OctopussyError

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

Direct Known Subclasses

General, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ OctopussyError

Returns a new instance of OctopussyError.



22
23
24
25
# File 'lib/octopussy.rb', line 22

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



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

def data
  @data
end