Class: Shodan::Clients::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/shodan/clients/account.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL, Base::HOST

Instance Attribute Summary

Attributes inherited from Base

#key

Instance Method Summary collapse

Methods inherited from Base

#initialize, #key?

Constructor Details

This class inherits a constructor from Shodan::Clients::Base

Instance Method Details

#profileObject

Returns information about the Shodan account linked to this API key.



7
8
9
# File 'lib/shodan/clients/account.rb', line 7

def profile
  get("/account/profile")
end