Exception: FrankelWeibo::WeiboError
- Inherits:
-
StandardError
- Object
- StandardError
- FrankelWeibo::WeiboError
- Defined in:
- lib/frankel_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.
33 34 35 36 |
# File 'lib/frankel_weibo.rb', line 33 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
31 32 33 |
# File 'lib/frankel_weibo.rb', line 31 def data @data end |