class Ey::Core::Response::Error
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/ey-core/response.rb, line 5 def initialize(response) @response = response super( { :status => response.status, :headers => response.headers, :body => response.body, :request => response.request }.inspect ) end
Public Instance Methods
error_type()
click to toggle source
# File lib/ey-core/response.rb, line 17 def error_type self.class.name.split(":").last end