class Skroutz::ServerError
Raised when Skroutz
handles a non-successful response
Public Class Methods
new(status, body)
click to toggle source
Calls superclass method
# File lib/skroutz/errors.rb, line 16 def initialize(status, body) super %(status: #{status}, body: "#{body}") end