Method: Twitter::RESTError#to_s
- Defined in:
- lib/vendor/twitter/lib/twitter/core.rb
#to_s ⇒ Object
Returns string in following format:
"HTTP #{@code}: #{@message} at #{@uri}"
For example,
"HTTP 404: Resource Not Found at /i_am_crap.json"
111 112 113 |
# File 'lib/vendor/twitter/lib/twitter/core.rb', line 111 def to_s "HTTP #{@code}: #{@message} at #{@uri}" end |