Class: Shodanz::Client
- Inherits:
-
Object
- Object
- Shodanz::Client
- Defined in:
- lib/shodanz/client.rb
Overview
General client container class for all three of Shodan’s available API endpoints in a convient place to use.
Instance Attribute Summary collapse
- #exploits_api ⇒ Shodanz::API::Exploits readonly
- #rest_api ⇒ Shodanz::API::REST readonly
- #streaming_api ⇒ Shodanz::API::Streaming readonly
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
Create a new client to connect to any of the APIs.
Constructor Details
Instance Attribute Details
#exploits_api ⇒ Shodanz::API::Exploits (readonly)
13 14 15 |
# File 'lib/shodanz/client.rb', line 13 def exploits_api @exploits_api end |
#rest_api ⇒ Shodanz::API::REST (readonly)
9 10 11 |
# File 'lib/shodanz/client.rb', line 9 def rest_api @rest_api end |
#streaming_api ⇒ Shodanz::API::Streaming (readonly)
11 12 13 |
# File 'lib/shodanz/client.rb', line 11 def streaming_api @streaming_api end |