lib/twitter/core.rb in twitter4r-0.3.1 vs lib/twitter/core.rb in twitter4r-0.3.2

- old
+ new

@@ -99,11 +99,11 @@ # 404 # Resource Not Found # /i_am_crap.json class RESTError < RuntimeError include ClassUtilMixin - @@ATTRIBUTES = [:code, :message, :uri] - attr_accessor :code, :message, :uri + @@ATTRIBUTES = [:code, :message, :uri, :error] + attr_accessor :code, :message, :uri, :error # Returns string in following format: # "HTTP #{@code}: #{@message} at #{@uri}" # For example, # "HTTP 404: Resource Not Found at /i_am_crap.json"