Exception: InvalidKeysError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/invalid_keys_error.rb

Instance Method Summary collapse

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)
  message = """
  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 message
end