Faraday::Response::Middleware
# File lib/twitter/rest/response/raise_error.rb, line 18 def on_complete(env) status_code = env[:status].to_i error_class = Twitter::Error.errors[status_code] fail error_class.from_response(env) if error_class end
[Validate]
Generated with the Darkfish Rdoc Generator 2.