class Skroutz::UnauthorizedError
Raised when an authorization error occurs
Public Class Methods
new(status, body)
click to toggle source
Calls superclass method
# File lib/skroutz/errors.rb, line 46 def initialize(status, body) super %(status: #{status}, body: "#{body}") end