Sha256: 844acad85a11a722932a5d3dd4147994ad6de796ca5439d2bed9c5e33bac4247

Contents?: true

Size: 387 Bytes

Versions: 12

Compression:

Stored size: 387 Bytes

Contents

# encoding: utf-8

module Sonar
  module Certificate
    ##
    # Get certificate based on sha1 id
    # /api/v2/certificates/1e80c24b97c928bb1db7d4d3c05475a6a40a1186
    #
    # @return [Hashie::Mash] with response of certificate
    def get_certificate(options = {})
      response = get_endpoint("certificates/#{options[:sha1]}", options)
      response if response
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sonar-client-0.2.0 lib/sonar/certificate.rb
sonar-client-0.1.6 lib/sonar/certificate.rb
sonar-client-0.1.4 lib/sonar/certificate.rb
sonar-client-0.1.3 lib/sonar/certificate.rb
sonar-client-0.1.2 lib/sonar/certificate.rb
sonar-client-0.1.1 lib/sonar/certificate.rb
sonar-client-0.1.1.pre lib/sonar/certificate.rb
sonar-client-0.1.0 lib/sonar/certificate.rb
sonar-client-0.0.9 lib/sonar/certificate.rb
sonar-client-0.0.8 lib/sonar/certificate.rb
sonar-client-0.0.7 lib/sonar/certificate.rb
sonar-client-0.0.6 lib/sonar/certificate.rb