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-pro-cli-0.0.15 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.14 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.13 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.12 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.11 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.10 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.9 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.8 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.7 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.6 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.5 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.4 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb
ey-pro-cli-0.0.3 lib/vendor/core/ey-core/requests/update_ssl_certificate.rb