Sha256: 5ac6a4f7a2660116062cb6a67cf1803bfc2e5ce3549b8dcefd047f5b257ca3da

Contents?: true

Size: 731 Bytes

Versions: 14

Compression:

Stored size: 731 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def insert_ssl_certificate(_certificate_name, _certificate, _private_key, _options = {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def insert_ssl_certificate(certificate_name, certificate, private_key, description: nil)
          @compute.insert_ssl_certificate(
            @project,
            ::Google::Apis::ComputeV1::SslCertificate.new(
              certificate: certificate,
              name: certificate_name,
              private_key: private_key,
              description: description
            )
          )
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.24.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.23.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.22.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.21.1 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.21.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.20.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.19.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.18.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.17.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.16.1 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.16.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.15.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb
fog-google-1.14.0 lib/fog/compute/google/requests/insert_ssl_certificate.rb