Class: Insika::Doctor::DomainEntry

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

Overview

one entry of the domain inventory. The engine never GUESSES a store (D3) — every entry is something a deployment explicitly declared, or the built-in corpus still in effect (source "gem-default"). A broken enumerator degrades to one error-marked entry, never raises.

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



64
65
66
# File 'lib/insika/doctor.rb', line 64

def agent
  @agent
end

#detailObject (readonly)

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



64
65
66
# File 'lib/insika/doctor.rb', line 64

def detail
  @detail
end

#how_to_clearObject (readonly)

Returns the value of attribute how_to_clear

Returns:

  • (Object)

    the current value of how_to_clear



64
65
66
# File 'lib/insika/doctor.rb', line 64

def how_to_clear
  @how_to_clear
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



64
65
66
# File 'lib/insika/doctor.rb', line 64

def kind
  @kind
end

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



64
65
66
# File 'lib/insika/doctor.rb', line 64

def source
  @source
end

Instance Method Details

#to_hObject



65
66
67
68
# File 'lib/insika/doctor.rb', line 65

def to_h
  { "kind" => kind, "agent" => agent, "detail" => detail,
    "source" => source, "how_to_clear" => how_to_clear }.compact
end