Class: CycloneLariat::Messages::Builder
- Inherits:
-
Object
- Object
- CycloneLariat::Messages::Builder
- Defined in:
- lib/cyclone_lariat/messages/builder.rb
Instance Attribute Summary collapse
-
#raw_message ⇒ Object
readonly
Returns the value of attribute raw_message.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(raw_message:) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(raw_message:) ⇒ Builder
Returns a new instance of Builder.
14 15 16 17 18 |
# File 'lib/cyclone_lariat/messages/builder.rb', line 14 def initialize(raw_message:) @raw_message = @kind = kind @raw_message[:type] = end |
Instance Attribute Details
#raw_message ⇒ Object (readonly)
Returns the value of attribute raw_message.
12 13 14 |
# File 'lib/cyclone_lariat/messages/builder.rb', line 12 def @raw_message end |