Class: Fog::Identity::Proxmox::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/identity/proxmox.rb,
lib/fog/identity/proxmox/requests/get_pool.rb,
lib/fog/identity/proxmox/requests/get_role.rb,
lib/fog/identity/proxmox/requests/get_user.rb,
lib/fog/identity/proxmox/requests/get_group.rb,
lib/fog/identity/proxmox/requests/get_domain.rb,
lib/fog/identity/proxmox/requests/list_pools.rb,
lib/fog/identity/proxmox/requests/list_roles.rb,
lib/fog/identity/proxmox/requests/list_users.rb,
lib/fog/identity/proxmox/requests/create_pool.rb,
lib/fog/identity/proxmox/requests/create_role.rb,
lib/fog/identity/proxmox/requests/create_user.rb,
lib/fog/identity/proxmox/requests/delete_pool.rb,
lib/fog/identity/proxmox/requests/delete_role.rb,
lib/fog/identity/proxmox/requests/delete_user.rb,
lib/fog/identity/proxmox/requests/list_groups.rb,
lib/fog/identity/proxmox/requests/update_pool.rb,
lib/fog/identity/proxmox/requests/update_role.rb,
lib/fog/identity/proxmox/requests/update_user.rb,
lib/fog/identity/proxmox/requests/create_group.rb,
lib/fog/identity/proxmox/requests/delete_group.rb,
lib/fog/identity/proxmox/requests/list_domains.rb,
lib/fog/identity/proxmox/requests/read_version.rb,
lib/fog/identity/proxmox/requests/update_group.rb,
lib/fog/identity/proxmox/requests/create_domain.rb,
lib/fog/identity/proxmox/requests/delete_domain.rb,
lib/fog/identity/proxmox/requests/update_domain.rb,
lib/fog/identity/proxmox/requests/add_permission.rb,
lib/fog/identity/proxmox/requests/change_password.rb,
lib/fog/identity/proxmox/requests/list_permissions.rb,
lib/fog/identity/proxmox/requests/check_permissions.rb,
lib/fog/identity/proxmox/requests/remove_permission.rb

Overview

class Mock remove_permission request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mock


100
101
102
103
104
# File 'lib/fog/identity/proxmox.rb', line 100

def initialize(options = {})
  @pve_uri = URI.parse(options[:pve_url])
  @pve_path = @pve_uri.path
  @config = options
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config


98
99
100
# File 'lib/fog/identity/proxmox.rb', line 98

def config
  @config
end

Instance Method Details

#get_domain(realm) ⇒ Object


37
# File 'lib/fog/identity/proxmox/requests/get_domain.rb', line 37

def get_domain(realm); end

#get_group(groupid) ⇒ Object


37
# File 'lib/fog/identity/proxmox/requests/get_group.rb', line 37

def get_group(groupid); end

#get_pool(poolid) ⇒ Object


37
# File 'lib/fog/identity/proxmox/requests/get_pool.rb', line 37

def get_pool(poolid); end

#get_role(roleid) ⇒ Object


37
# File 'lib/fog/identity/proxmox/requests/get_role.rb', line 37

def get_role(roleid); end

#get_user(userid) ⇒ Object


36
# File 'lib/fog/identity/proxmox/requests/get_user.rb', line 36

def get_user(userid); end

#list_domainsObject


37
# File 'lib/fog/identity/proxmox/requests/list_domains.rb', line 37

def list_domains; end

#list_groupsObject


37
# File 'lib/fog/identity/proxmox/requests/list_groups.rb', line 37

def list_groups; end

#list_permissionsObject


37
# File 'lib/fog/identity/proxmox/requests/list_permissions.rb', line 37

def list_permissions; end

#list_poolsObject


37
# File 'lib/fog/identity/proxmox/requests/list_pools.rb', line 37

def list_pools; end

#list_rolesObject


37
# File 'lib/fog/identity/proxmox/requests/list_roles.rb', line 37

def list_roles; end

#list_users(options = {}) ⇒ Object


38
# File 'lib/fog/identity/proxmox/requests/list_users.rb', line 38

def list_users(options = {}); end