Exception: ChargeIO::ResourceNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chargeio/errors/resource_not_found.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_id) ⇒ ResourceNotFound

Returns a new instance of ResourceNotFound.


6
7
8
9
# File 'lib/chargeio/errors/resource_not_found.rb', line 6

def initialize(resource_id)
  super()
  @resource_id = resource_id
end

Instance Attribute Details

#resource_idObject

Returns the value of attribute resource_id


4
5
6
# File 'lib/chargeio/errors/resource_not_found.rb', line 4

def resource_id
  @resource_id
end