Module: XClarityClient::Mixins::CanisterMixin
- Included in:
- Client
- Defined in:
- lib/xclarity_client/mixins/canister_mixin.rb
Overview
Exposes CanisterManagement features
Instance Method Summary collapse
- #discover_canisters(opts = {}) ⇒ Object
- #fetch_canisters(uuids = nil, include_attributes = nil, exclude_attributes = nil) ⇒ Object
Instance Method Details
#discover_canisters(opts = {}) ⇒ Object
6 7 8 |
# File 'lib/xclarity_client/mixins/canister_mixin.rb', line 6 def discover_canisters(opts = {}) CanisterManagement.new(@config).fetch_all(opts) end |
#fetch_canisters(uuids = nil, include_attributes = nil, exclude_attributes = nil) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/xclarity_client/mixins/canister_mixin.rb', line 10 def fetch_canisters(uuids = nil, include_attributes = nil, exclude_attributes = nil) CanisterManagement.new(@config).get_object( uuids, include_attributes, exclude_attributes ) end |