class EtCcdClient::Exceptions::NotFound

Public Instance Methods

to_s() click to toggle source
Calls superclass method EtCcdClient::Exceptions::Base#to_s
# File lib/et_ccd_client/exceptions/not_found.rb, line 4
def to_s
  json = JSON.parse(response.body) rescue JSON::JSONError
  return "Not Found" if json.nil?

  super
end