Sha256: f1981badbdf2ca96769f98f0c2234291f917a77f9b1a6ea497429db3862013fc

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Disables an account
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/disableAccount.html]
        def disable_account(lock, options={})
          options.merge!(
            'command' => 'disableAccount', 
            'lock' => lock  
          )
          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/disable_account.rb