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

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

Instance Attribute Summary

Attributes inherited from Model

#project

Instance Method Summary collapse

Methods inherited from 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/openstack/baremetal/models/driver.rb', line 17

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

#propertiesObject



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

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