Exception: PaystackSdk::ResourceNotFoundError
- Defined in:
- lib/paystack_sdk.rb
Overview
Raised when a resource is not found
Instance Attribute Summary collapse
-
#resource_type ⇒ Object
readonly
Returns the value of attribute resource_type.
Instance Method Summary collapse
-
#initialize(resource_type, message) ⇒ ResourceNotFoundError
constructor
A new instance of ResourceNotFoundError.
Constructor Details
#initialize(resource_type, message) ⇒ ResourceNotFoundError
Returns a new instance of ResourceNotFoundError.
66 67 68 69 |
# File 'lib/paystack_sdk.rb', line 66 def initialize(resource_type, ) @resource_type = resource_type super() end |
Instance Attribute Details
#resource_type ⇒ Object (readonly)
Returns the value of attribute resource_type.
64 65 66 |
# File 'lib/paystack_sdk.rb', line 64 def resource_type @resource_type end |