class Amply::Exceptions::ResourceNotFoundException
Attributes
errors[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/amply/exceptions/resource_not_found_exception.rb, line 8 def initialize(response) @errors = JSON.parse(response.body, symbolize_names: true)[:errors] super end
Public Instance Methods
message()
click to toggle source
# File lib/amply/exceptions/resource_not_found_exception.rb, line 14 def message 'The resource was not found while making an API request' end