Class: Fog::Compute::VcloudDirector::Vdc

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/vcloud_director/models/compute/vdc.rb

Instance Method Summary collapse

Methods inherited from Model

#initialize, #inspect, #lazy_load_attrs, #make_attr_loaded_method, #make_lazy_load_method

Constructor Details

This class inherits a constructor from Fog::Compute::VcloudDirector::Model

Instance Method Details

#mediasObject


23
24
25
26
# File 'lib/fog/vcloud_director/models/compute/vdc.rb', line 23

def medias
  requires :id
  service.medias(:vdc => self)
end

#vappsObject


28
29
30
31
# File 'lib/fog/vcloud_director/models/compute/vdc.rb', line 28

def vapps
  requires :id
  service.vapps(:vdc => self)
end