Exception: MambaNation::MambaNationError

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

Direct Known Subclasses

General, RateLimitExceeded, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ MambaNationError

Returns a new instance of MambaNationError.



13
14
15
16
# File 'lib/mambanation.rb', line 13

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



11
12
13
# File 'lib/mambanation.rb', line 11

def data
  @data
end