Class: Fog::Proxmox::Network::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/network/proxmox.rb,
lib/fog/network/proxmox/requests/get_node.rb,
lib/fog/network/proxmox/requests/list_nodes.rb,
lib/fog/network/proxmox/requests/power_node.rb,
lib/fog/network/proxmox/requests/get_network.rb,
lib/fog/network/proxmox/requests/list_networks.rb,
lib/fog/network/proxmox/requests/create_network.rb,
lib/fog/network/proxmox/requests/delete_network.rb,
lib/fog/network/proxmox/requests/update_network.rb

Overview

class Mock update_network request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.



51
52
53
54
55
# File 'lib/fog/network/proxmox.rb', line 51

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.



49
50
51
# File 'lib/fog/network/proxmox.rb', line 49

def config
  @config
end

Instance Method Details

#get_networkObject



39
# File 'lib/fog/network/proxmox/requests/get_network.rb', line 39

def get_network; end

#get_nodeObject



37
# File 'lib/fog/network/proxmox/requests/get_node.rb', line 37

def get_node; end

#list_networksObject



39
# File 'lib/fog/network/proxmox/requests/list_networks.rb', line 39

def list_networks; end

#list_nodesObject



38
# File 'lib/fog/network/proxmox/requests/list_nodes.rb', line 38

def list_nodes; end

#power_nodeObject



39
# File 'lib/fog/network/proxmox/requests/power_node.rb', line 39

def power_node; end