class Fog::Proxmox::Model

class Model proxmox

Public Class Methods

new(attributes) click to toggle source

Initialize a record

Calls superclass method
# File lib/fog/proxmox/models/model.rb, line 35
def initialize(attributes)
  # Old 'connection' is renamed as service and should be used instead
  prepare_service_value(attributes)
  super
end

Public Instance Methods

create() click to toggle source

Creates a record

# File lib/fog/proxmox/models/model.rb, line 47
def create
  # raise Fog::Proxmox::Errors::InterfaceNotImplemented
end
destroy() click to toggle source

Destroys a record

# File lib/fog/proxmox/models/model.rb, line 52
def destroy
  # raise Fog::Proxmox::Errors::InterfaceNotImplemented
end
inspect() click to toggle source
# File lib/fog/proxmox/models/model.rb, line 30
def inspect
  Fog::Formatador.format(self, include_nested: false)
end
to_s() click to toggle source
# File lib/fog/proxmox/models/model.rb, line 26
def to_s
  identity.to_s
end
update() click to toggle source

Updates a record

# File lib/fog/proxmox/models/model.rb, line 42
def update
  # raise Fog::Proxmox::Errors::InterfaceNotImplemented
end