Class: Legion::Transport::Messages::CheckSubtask
Instance Method Summary
collapse
#content_encoding, #content_type, #encode_message, #encrypt?, #encrypt_message, #expiration, #headers, #initialize, #message, #priority, #publish, #timestamp, #type
Methods included from Common
#channel, #channel_open?, #close, #close!, #deep_merge, #generate_consumer_tag, #open_channel, #options_builder
Instance Method Details
#exchange_name ⇒ Object
11
12
13
|
# File 'lib/legion/transport/messages/check_subtask.rb', line 11
def exchange_name
'Legion::Transport::Exchanges::Task'
end
|
#routing_key ⇒ Object
15
16
17
|
# File 'lib/legion/transport/messages/check_subtask.rb', line 15
def routing_key
'task.subtask.check'
end
|
#validate ⇒ Object
19
20
21
|
# File 'lib/legion/transport/messages/check_subtask.rb', line 19
def validate
@valid = true
end
|