Exception: Weibo::WeiboError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



24
25
26
# File 'lib/weibo.rb', line 24

def data
  @data
end