Exception: One40Proof::InvalidAPICall
- Inherits:
-
Exception
- Object
- Exception
- One40Proof::InvalidAPICall
- Defined in:
- lib/one40_proof/exceptions.rb
Overview
Raised
-
When a user passes an API method that doesnt exist
Instance Method Summary collapse
-
#initialize ⇒ InvalidAPICall
constructor
A new instance of InvalidAPICall.
Constructor Details
#initialize ⇒ InvalidAPICall
Returns a new instance of InvalidAPICall.
12 13 14 |
# File 'lib/one40_proof/exceptions.rb', line 12 def initialize super("Check your query hash. Only :search, :test and :user methods allows") end |