Module: XClarityClient::Mixins::FanMixin

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

Overview

Exposes FanManagement features

Instance Method Summary collapse

Instance Method Details

#discover_fans(opts = {}) ⇒ Object



16
17
18
# File 'lib/xclarity_client/mixins/fan_mixin.rb', line 16

def discover_fans(opts = {})
  FanManagement.new(@config).fetch_all(opts)
end

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



6
7
8
9
10
11
12
13
14
# File 'lib/xclarity_client/mixins/fan_mixin.rb', line 6

def fetch_fans(uuids = nil,
               include_attributes = nil,
               exclude_attributes = nil)
  FanManagement.new(@config).get_object(
    uuids,
    include_attributes,
    exclude_attributes
  )
end