Class: Sqreen::Kit::Signals::LocationInfra
- Inherits:
-
Object
- Object
- Sqreen::Kit::Signals::LocationInfra
- Includes:
- DtoHelper
- Defined in:
- lib/sqreen/kit/signals/signal_attributes.rb
Constant Summary
Constants included from DtoHelper
DtoHelper::DO_NOT_CONVERT_TYPES, DtoHelper::RFC_3339_FMT
Instance Attribute Summary collapse
-
#agent_version ⇒ String
mandatory.
-
#hostname ⇒ String
mandatory.
- #libsqreen_version ⇒ String
-
#os_type ⇒ String
mandatory.
- #runtime_type ⇒ String
-
#runtime_version ⇒ String
mandatory.
Instance Method Summary collapse
Methods included from DtoHelper
#append_to_h_filter, #compact_hash, included, #initialize, #to_json
Instance Attribute Details
#agent_version ⇒ String
mandatory
87 88 89 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 87 def agent_version @agent_version end |
#hostname ⇒ String
mandatory
95 96 97 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 95 def hostname @hostname end |
#libsqreen_version ⇒ String
105 106 107 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 105 def libsqreen_version @libsqreen_version end |
#os_type ⇒ String
mandatory
91 92 93 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 91 def os_type @os_type end |
#runtime_type ⇒ String
98 99 100 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 98 def runtime_type @runtime_type end |
#runtime_version ⇒ String
mandatory
102 103 104 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 102 def runtime_version @runtime_version end |
Instance Method Details
#to_h ⇒ Object
107 108 109 110 111 112 113 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 107 def to_h { infra: { agent_type: 'ruby', }.merge(super()), } end |