Module: Messaging::Fixtures::Controls::Message::Metadata
- Defined in:
- lib/messaging/fixtures/controls/message.rb
Class Method Summary collapse
Class Method Details
.example ⇒ Object
62 63 64 65 66 67 68 69 70 |
# File 'lib/messaging/fixtures/controls/message.rb', line 62 def self.example = Messaging::Message::Metadata.new .stream_name = stream_name .position = position .global_position = global_position end |
.global_position ⇒ Object
80 81 82 |
# File 'lib/messaging/fixtures/controls/message.rb', line 80 def self.global_position 111 end |
.position ⇒ Object
76 77 78 |
# File 'lib/messaging/fixtures/controls/message.rb', line 76 def self.position 1 end |
.stream_name ⇒ Object
72 73 74 |
# File 'lib/messaging/fixtures/controls/message.rb', line 72 def self.stream_name "example:command-#{Entity.id}" end |