Exception: PipeDrive::MissingApiToken

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

Instance Method Summary collapse

Constructor Details

#initializeMissingApiToken

Returns a new instance of MissingApiToken.



3
4
5
6
7
8
9
10
# File 'lib/pipe_drive/exception.rb', line 3

def initialize
  err_msg = "api token not found, please setup with
  PipeDrive.setup do |config|
    config.api_token = [Your API Token]
  end
  "
  super(err_msg)
end