Sha256: 7c7faaf90be4c38d8dd4abfcf801f2085b1dded7c568c4adf5364210d8db11aa
Contents?: true
Size: 650 Bytes
Versions: 28
Compression:
Stored size: 650 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Upload a certificate to cloudstack # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/uploadSslCert.html] def upload_ssl_cert(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'uploadSslCert') else options.merge!('command' => 'uploadSslCert', 'certificate' => args[0], 'privatekey' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems