Class: BinaryEdge::Client::DataLeaks
- Defined in:
- lib/binaryedge/clients/data_leaks.rb
Constant Summary
Constants inherited from Base
Base::BASE_URL, Base::HOST, Base::VERSION
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#email(email) ⇒ Hash
Verify how many dataleaks affected an specific email address.
-
#info ⇒ Hash
Get all available information about the dataleaks our platform keeps track.
-
#organization(domain) ⇒ Hash
Verify how many emails are affected by dataleaks for a specific domain.
Methods inherited from Base
Constructor Details
This class inherits a constructor from BinaryEdge::Client::Base
Instance Method Details
#email(email) ⇒ Hash
Verify how many dataleaks affected an specific email address.
13 14 15 |
# File 'lib/binaryedge/clients/data_leaks.rb', line 13 def email(email) _get("/query/dataleaks/email/#{email}") { |json| json } end |
#info ⇒ Hash
Get all available information about the dataleaks our platform keeps track.
33 34 35 |
# File 'lib/binaryedge/clients/data_leaks.rb', line 33 def info _get("/query/dataleaks/info") { |json| json } end |
#organization(domain) ⇒ Hash
Verify how many emails are affected by dataleaks for a specific domain
24 25 26 |
# File 'lib/binaryedge/clients/data_leaks.rb', line 24 def organization(domain) _get("/query/dataleaks/organization/#{domain}") { |json| json } end |