Class: Insika::ToolUsageReport::Row

Inherits:
Data
  • Object
show all
Defined in:
lib/insika/tool_usage_report.rb

Overview

One finding. kind: "never_called" | "error_rate" | "stale".

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#agentObject (readonly)

Returns the value of attribute agent

Returns:

  • (Object)

    the current value of agent



32
33
34
# File 'lib/insika/tool_usage_report.rb', line 32

def agent
  @agent
end

#detailObject (readonly)

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



32
33
34
# File 'lib/insika/tool_usage_report.rb', line 32

def detail
  @detail
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



32
33
34
# File 'lib/insika/tool_usage_report.rb', line 32

def kind
  @kind
end

#toolObject (readonly)

Returns the value of attribute tool

Returns:

  • (Object)

    the current value of tool



32
33
34
# File 'lib/insika/tool_usage_report.rb', line 32

def tool
  @tool
end

Instance Method Details

#to_hObject



33
# File 'lib/insika/tool_usage_report.rb', line 33

def to_h = { "agent" => agent, "tool" => tool, "kind" => kind, "detail" => detail }