Module: Sonar::Registration
- Included in:
- Client
- Defined in:
- lib/sonar/registration.rb
Instance Method Summary collapse
-
#register_metasploit(product_key) ⇒ Object
Takes a Metasploit Product Key and attempts to register a Sonar account with it.
Instance Method Details
#register_metasploit(product_key) ⇒ Object
Takes a Metasploit Product Key and attempts to register a Sonar account with it.
7 8 9 10 |
# File 'lib/sonar/registration.rb', line 7 def (product_key) post_params = { product_key: product_key.dup } post_to_sonar('metasploit_verify', post_params) end |