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