Class: Consumer::Controls::Get::Incrementing::MessageData

Inherits:
Object
  • Object
show all
Defined in:
lib/consumer/controls/get/incrementing.rb

Class Method Summary collapse

Class Method Details

.example(global_position, position) ⇒ Object



57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/consumer/controls/get/incrementing.rb', line 57

def self.example(global_position, position)
  data = {
    :position => position,
    :global_position => global_position
  }

  Controls::MessageData.example(
    data: data,
    global_position: global_position,
    position: position
  )
end