module TopologicalInventory::Providers::Common::Mixins::Statuses

Public Instance Methods

operation_status() click to toggle source
# File lib/topological_inventory/providers/common/mixins/statuses.rb, line 6
def operation_status
  return @statuses if @statuses.present?

  @statuses = {}
  %i[success error skipped not_implemented].each do |status|
    @statuses[status] = status.to_s
  end
  @statuses
end