class Unloq::APIError
Attributes
body[R]
status[R]
Public Class Methods
new(status, body)
click to toggle source
Calls superclass method
# File lib/unloq/api_error.rb, line 6 def initialize(status, body) @status = status @body = body super(message) end
Public Instance Methods
message()
click to toggle source
# File lib/unloq/api_error.rb, line 12 def message "status_code:#{status} body:#{body.inspect}" end