Exception: PagarMe::NotFound

Inherits:
ResponseError show all
Defined in:
lib/pagarme/errors.rb

Instance Attribute Summary collapse

Attributes inherited from ResponseError

#error, #request_params

Instance Method Summary collapse

Constructor Details

#initialize(response, request_params, error) ⇒ NotFound

Returns a new instance of NotFound.



28
29
30
31
# File 'lib/pagarme/errors.rb', line 28

def initialize(response, request_params, error)
  @response = response
  super request_params, error
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



27
28
29
# File 'lib/pagarme/errors.rb', line 27

def response
  @response
end