Exception: Twitter::TwitterError
- Inherits:
-
StandardError
- Object
- StandardError
- Twitter::TwitterError
- Defined in:
- lib/twitter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ TwitterError
constructor
A new instance of TwitterError.
Constructor Details
#initialize(data) ⇒ TwitterError
Returns a new instance of TwitterError.
17 18 19 20 |
# File 'lib/twitter.rb', line 17 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
15 16 17 |
# File 'lib/twitter.rb', line 15 def data @data end |