Exception: Tweet::TwitterError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/campfire/polling_bot/plugins/tweet/tweet.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(http_result) ⇒ TwitterError

Returns a new instance of TwitterError.


6
7
8
# File 'lib/campfire/polling_bot/plugins/tweet/tweet.rb', line 6

def initialize(http_result)
  @http_result = http_result
end

Instance Attribute Details

#http_resultObject (readonly)

Returns the value of attribute http_result


4
5
6
# File 'lib/campfire/polling_bot/plugins/tweet/tweet.rb', line 4

def http_result
  @http_result
end