Exception: Shodanz::Errors::NoAPIKey
- Inherits:
-
StandardError
- Object
- StandardError
- Shodanz::Errors::NoAPIKey
- Defined in:
- lib/shodanz/errors.rb
Instance Method Summary collapse
-
#initialize(msg = 'No API key has been found or provided! ( setup your SHODAN_API_KEY environment variable )') ⇒ NoAPIKey
constructor
A new instance of NoAPIKey.
Constructor Details
#initialize(msg = 'No API key has been found or provided! ( setup your SHODAN_API_KEY environment variable )') ⇒ NoAPIKey
Returns a new instance of NoAPIKey.
18 19 20 |
# File 'lib/shodanz/errors.rb', line 18 def initialize(msg = 'No API key has been found or provided! ( setup your SHODAN_API_KEY environment variable )') super end |