Class: Fog::Compute::Proxmox::Storage

Inherits:
Proxmox::Model show all
Defined in:
lib/fog/compute/proxmox/models/storage.rb

Overview

class Storage model

Instance Method Summary collapse

Methods inherited from Proxmox::Model

#create, #destroy, #initialize, #inspect, #update

Constructor Details

This class inherits a constructor from Fog::Proxmox::Model

Instance Method Details

#to_sObject


48
49
50
# File 'lib/fog/compute/proxmox/models/storage.rb', line 48

def to_s
  storage
end

#volumesObject


52
53
54
55
56
57
# File 'lib/fog/compute/proxmox/models/storage.rb', line 52

def volumes
  @volumes ||= begin
    Fog::Compute::Proxmox::Volumes.new(service: service,
                                       node: node, storage: self)
  end
end