Sha256: 062df6f7eacba169141525e0865f6b838d73aa1e2d957dcd65ffafdd5ac5da5e
Contents?: true
Size: 505 Bytes
Versions: 17
Compression:
Stored size: 505 Bytes
Contents
require 'fog/openstack/models/collection' require 'fog/openstack/models/baremetal/driver' module Fog module Baremetal class OpenStack class Drivers < Fog::OpenStack::Collection model Fog::Baremetal::OpenStack::Driver def all(options = {}) load_response(service.list_drivers(options), 'drivers') end def find_by_name(name) new(service.get_driver(name).body) end alias_method :get, :find_by_name end end end end
Version data entries
17 entries across 17 versions & 2 rubygems