Sha256: 0b2cac4ccdfe8860e05c22368900df8e11c0be8e3f8a2b932810a3859d1ecf56

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Adds vpn users
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addVpnUser.html]
        def add_vpn_user(password, username, options={})
          options.merge!(
            'command' => 'addVpnUser', 
            'password' => password, 
            'username' => username  
          )
          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_vpn_user.rb