Sha256: 8970c7abe893309444300d99d3ec413fba40d9b3fe5035536bb1a087325ae23f
Contents?: true
Size: 609 Bytes
Versions: 53
Compression:
Stored size: 609 Bytes
Contents
class Ey::Core::Client class Real def destroy_ssl_certificate(params={}) id = params["id"] url = params.delete("url") request( :method => :delete, :path => "ssl_certificates/#{id}", :url => url, ) end end class Mock def destroy_ssl_certificate(params={}) url = params.delete("url") ssl_certificate_id = params["id"] || url_params(url)["ssl_certificates"] self.data[:ssl_certificates][ssl_certificate_id]["deleted_at"] = Time.now response( :body => nil, :status => 204, ) end end end
Version data entries
53 entries across 53 versions & 3 rubygems