Class: Fog::Baremetal::OpenStack::Driver

Inherits:
OpenStack::Model show all
Defined in:
lib/fog/baremetal/openstack/models/driver.rb

Instance Attribute Summary

Attributes inherited from OpenStack::Model

#project

Instance Method Summary collapse

Methods inherited from OpenStack::Model

#create, #destroy, #initialize, #save, #update

Constructor Details

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

Instance Method Details

#metadataObject


17
18
19
20
# File 'lib/fog/baremetal/openstack/models/driver.rb', line 17

def 
  requires :name
  service.get_driver(name).headers
end

#propertiesObject


12
13
14
15
# File 'lib/fog/baremetal/openstack/models/driver.rb', line 12

def properties
  requires :name
  service.get_driver_properties(name).body
end