Sha256: edbe00ee217e5a074687fd5fa0846561b5f4c4976631aa05fbe6346680cb2dba

Contents?: true

Size: 537 Bytes

Versions: 53

Compression:

Stored size: 537 Bytes

Contents

class Ey::Core::Client
  class Real
    def update_ssl_certificate(params={})
      id = params.delete("id")

      request(
        :method => :put,
        :path   => "/ssl_certificates/#{id}",
        :body   => params,
      )
    end
  end

  class Mock
    def update_ssl_certificate(params={})
      ssl_certificate = self.find(:ssl_certificates, resource_identity(params))

      ssl_certificate.merge!(params["ssl_certificate"])

      response(
        :body => {"ssl_certificate" => ssl_certificate}
      )
    end
  end
end

Version data entries

53 entries across 53 versions & 3 rubygems

Version Path
ey-core-3.6.4 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.6.3 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.6.1 lib/ey-core/requests/update_ssl_certificate.rb
groove-ey-core-3.6.3 lib/ey-core/requests/update_ssl_certificate.rb
groove-ey-core-3.6.2 lib/ey-core/requests/update_ssl_certificate.rb
groove-ey-core-3.6.1 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.5.0 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.4.4 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.4.2 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.4.1 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.4.0 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.3.1 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.3.0 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.6 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.5 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.4 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.3 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.2 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.1 lib/ey-core/requests/update_ssl_certificate.rb
ey-core-3.2.0 lib/ey-core/requests/update_ssl_certificate.rb