class ThreeScale::Core::APIClient::APIError
Attributes
attributes[R]
method[R]
response[R]
uri[R]
Public Class Methods
new(method, uri, response, attributes)
click to toggle source
Calls superclass method
# File lib/3scale/core/api_client/resource.rb, line 9 def initialize(method, uri, response, attributes) @method, @uri, @response, @attributes = method, uri, response, attributes super "#{self.class}: #{response.status} #{method.upcase} #{uri}, attributes:" \ " #{attributes.inspect}, response.body: #{response.body[0,256]}" end