Exception: InvalidKeysError
- Inherits:
-
StandardError
- Object
- StandardError
- InvalidKeysError
- Defined in:
- lib/invalid_keys_error.rb
Instance Method Summary collapse
-
#initialize(client_id, client_secret) ⇒ InvalidKeysError
constructor
A new instance of InvalidKeysError.
Constructor Details
#initialize(client_id, client_secret) ⇒ InvalidKeysError
Returns a new instance of InvalidKeysError.
2 3 4 5 6 7 8 9 10 |
# File 'lib/invalid_keys_error.rb', line 2 def initialize(client_id, client_secret) = """ Wrong API keys Given Client ID: #{client_id} (Must be 20 characters of String) Given Client Secret: #{client_secret} (Must be 10 characters of String) """ puts end |