class Skroutz::InvalidResource
Raised when Skroutz
can't parse the response for the resource
Public Class Methods
new(resource, body)
click to toggle source
Calls superclass method
# File lib/skroutz/errors.rb, line 23 def initialize(resource, body) super %(resource: #{resource}, body: "#{body}") end