Class: Fog::Baremetal::OpenStack::Drivers
Instance Attribute Summary
#response
Instance Method Summary
collapse
#destroy, #load_response, #summary
Instance Method Details
#all(options = {}) ⇒ Object
10
11
12
|
# File 'lib/fog/openstack/models/baremetal/drivers.rb', line 10
def all(options = {})
load_response(service.list_drivers(options), 'drivers')
end
|
#find_by_name(name) ⇒ Object
Also known as:
get
14
15
16
|
# File 'lib/fog/openstack/models/baremetal/drivers.rb', line 14
def find_by_name(name)
new(service.get_driver(name).body)
end
|