Class: BBK::App::Spec::Dispatcher::Message
Instance Attribute Summary
#body, #consumer, #delivery_info, #headers
Instance Method Summary
collapse
#ack, #initialize, #inspect, #nack, #payload, #reply_message_id, #to_h
Instance Method Details
#message_id ⇒ Object
14
15
16
|
# File 'lib/bbk/app/spec/dispatcher/message.rb', line 14
def message_id
[:message_id]
end
|
#protocol ⇒ Object
10
11
12
|
# File 'lib/bbk/app/spec/dispatcher/message.rb', line 10
def protocol
:test
end
|
#reply_to ⇒ Object
18
19
20
|
# File 'lib/bbk/app/spec/dispatcher/message.rb', line 18
def reply_to
[:reply_to] || user_id
end
|
#user_id ⇒ Object
22
23
24
|
# File 'lib/bbk/app/spec/dispatcher/message.rb', line 22
def user_id
[:user_id]
end
|