module TopologicalInventory::Providers::Common::Mixins::TopologyApi
Public Instance Methods
topology_api()
click to toggle source
@identity attr_reader is expected
# File lib/topological_inventory/providers/common/mixins/topology_api.rb, line 9 def topology_api @topology_api ||= TopologicalInventory::Providers::Common::TopologyApiClient.new(identity) end
update_task(task_id, source_id: nil, state:, status:, target_type: nil, target_source_ref: nil, context: nil)
click to toggle source
# File lib/topological_inventory/providers/common/mixins/topology_api.rb, line 13 def update_task(task_id, source_id: nil, state:, status:, target_type: nil, target_source_ref: nil, context: nil) topology_api.update_task(task_id, :source_id => source_id, :state => state, :status => status, :target_type => target_type, :target_source_ref => target_source_ref, :context => context) end