Module: Sonar::Certificate
- Included in:
- Client
- Defined in:
- lib/sonar/certificate.rb
Instance Method Summary collapse
-
#get_certificate(options = {}) ⇒ Hashie::Mash
Get certificate based on sha1 id /api/v2/certificates/1e80c24b97c928bb1db7d4d3c05475a6a40a1186.
Instance Method Details
#get_certificate(options = {}) ⇒ Hashie::Mash
Get certificate based on sha1 id /api/v2/certificates/1e80c24b97c928bb1db7d4d3c05475a6a40a1186
10 11 12 13 |
# File 'lib/sonar/certificate.rb', line 10 def get_certificate( = {}) response = get_endpoint("certificates/#{[:sha1]}", ) response if response end |