Class: Sqreen::Kit::Signals::Signal
- Inherits:
-
Object
- Object
- Sqreen::Kit::Signals::Signal
- Includes:
- SignalAttributes
- Defined in:
- lib/sqreen/kit/signals/signal.rb
Overview
Not to be used directly. See Metric and Point
Constant Summary
Constants included from DtoHelper
DtoHelper::DO_NOT_CONVERT_TYPES, DtoHelper::RFC_3339_FMT
Instance Attribute Summary collapse
-
#payload ⇒ Object
mandatory.
- #payload_schema ⇒ String
-
#signal_name ⇒ String
mandatory.
Attributes included from SignalAttributes
#actor, #context, #context_schema, #location, #location_infra, #source, #trigger
Method Summary
Methods included from SignalAttributes
Methods included from DtoHelper
#append_to_h_filter, #compact_hash, included, #initialize, #to_h, #to_json
Instance Attribute Details
#payload ⇒ Object
mandatory
29 30 31 |
# File 'lib/sqreen/kit/signals/signal.rb', line 29 def payload @payload end |
#payload_schema ⇒ String
25 26 27 |
# File 'lib/sqreen/kit/signals/signal.rb', line 25 def payload_schema @payload_schema end |
#signal_name ⇒ String
mandatory
22 23 24 |
# File 'lib/sqreen/kit/signals/signal.rb', line 22 def signal_name @signal_name end |