Exception: Twitterland::TwitterError

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

Direct Known Subclasses

General, RateLimitExceeded, Unauthorized

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (TwitterError) initialize(data)

Returns a new instance of TwitterError



12
13
14
15
# File 'lib/twitterland.rb', line 12

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

- (Object) data (readonly)

Returns the value of attribute data



10
11
12
# File 'lib/twitterland.rb', line 10

def data
  @data
end