Exception: One40Proof::InvalidAPICall

Inherits:
Exception
  • Object
show all
Defined in:
lib/one40_proof/exceptions.rb

Overview

Raised

  • When a user passes an API method that doesnt exist

Instance Method Summary collapse

Constructor Details

#initializeInvalidAPICall

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