Module: XClarityClient::Mixins::CabinetMixin

Included in:
Client
Defined in:
lib/xclarity_client/mixins/cabinet_mixin.rb

Overview

Exposes CabinetManagement features

Instance Method Summary collapse

Instance Method Details

#discover_cabinet(opts = {}) ⇒ Object



6
7
8
# File 'lib/xclarity_client/mixins/cabinet_mixin.rb', line 6

def discover_cabinet(opts = {})
  CabinetManagement.new(@config).fetch_all(opts)
end

#fetch_cabinet(uuids = nil, include_attributes = nil, exclude_attributes = nil) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/xclarity_client/mixins/cabinet_mixin.rb', line 10

def fetch_cabinet(uuids = nil,
                  include_attributes = nil,
                  exclude_attributes = nil)
  CabinetManagement.new(@config).get_object(
    uuids,
    include_attributes,
    exclude_attributes
  )
end