Class: Insika::EnvSchema::Finding
- Inherits:
-
Data
- Object
- Data
- Insika::EnvSchema::Finding
- Defined in:
- lib/insika/env_schema.rb
Overview
A problem (or an :ok note) about the environment. dry/serializable — the proc-
free shape Doctor and insika env both render.
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#severity ⇒ Object
readonly
Returns the value of attribute severity.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key
65 66 67 |
# File 'lib/insika/env_schema.rb', line 65 def key @key end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
65 66 67 |
# File 'lib/insika/env_schema.rb', line 65 def kind @kind end |
#message ⇒ Object (readonly)
Returns the value of attribute message
65 66 67 |
# File 'lib/insika/env_schema.rb', line 65 def @message end |
#severity ⇒ Object (readonly)
Returns the value of attribute severity
65 66 67 |
# File 'lib/insika/env_schema.rb', line 65 def severity @severity end |
Instance Method Details
#to_h ⇒ Object
66 |
# File 'lib/insika/env_schema.rb', line 66 def to_h = { "key" => key, "kind" => kind.to_s, "severity" => severity.to_s, "message" => } |