Sha256: 05e24354327f565beac36007e05ba4a0d281f8ffb05646a72aa69a2d02f08113

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Adds S3
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addS3.html]
        def add_s3(bucket, accesskey, secretkey, options={})
          options.merge!(
            'command' => 'addS3', 
            'bucket' => bucket, 
            'accesskey' => accesskey, 
            'secretkey' => secretkey  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/add_s3.rb