Exception: Teambox::TeamboxError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/teambox-client.rb

Direct Known Subclasses

General, RateLimitExceeded, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ TeamboxError

Returns a new instance of TeamboxError.



15
16
17
18
# File 'lib/teambox-client.rb', line 15

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



13
14
15
# File 'lib/teambox-client.rb', line 13

def data
  @data
end