Exception: PipeDrive::MissingApiToken
- Inherits:
-
StandardError
- Object
- StandardError
- PipeDrive::MissingApiToken
- Defined in:
- lib/pipe_drive/exception.rb
Instance Method Summary collapse
-
#initialize ⇒ MissingApiToken
constructor
A new instance of MissingApiToken.
Constructor Details
#initialize ⇒ MissingApiToken
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 |