Exception: Shodanz::Errors::NoAPIKey

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

Instance Method Summary collapse

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