Exception: Weibo::WeiboError
- Inherits:
-
StandardError
- Object
- StandardError
- Weibo::WeiboError
- Defined in:
- lib/weibo.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ WeiboError
constructor
A new instance of WeiboError.
Constructor Details
#initialize(data) ⇒ WeiboError
Returns a new instance of WeiboError.
26 27 28 29 |
# File 'lib/weibo.rb', line 26 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
24 25 26 |
# File 'lib/weibo.rb', line 24 def data @data end |