Class: Appfuel::CliMsgRequest
- Inherits:
-
MsgRequest
- Object
- MsgRequest
- Appfuel::CliMsgRequest
- Defined in:
- lib/appfuel/cli_msg_request.rb
Overview
This represents the message delivered by RabbitMQ. We encapsulate it so that if you want to fire an action from the command line you can use a CliRequest and not worry about rabbit details
Instance Attribute Summary
Attributes inherited from MsgRequest
#action, #config, #correlation_id, #current_user, #delivery_info, #feature, #inputs, #properties, #reply_to, #service_route
Instance Method Summary collapse
-
#initialize(route, input) ⇒ CliMsgRequest
constructor
A new instance of CliMsgRequest.
Methods inherited from MsgRequest
#auditable?, #current_user?, #rpc?
Constructor Details
#initialize(route, input) ⇒ CliMsgRequest
Returns a new instance of CliMsgRequest.
8 9 10 11 |
# File 'lib/appfuel/cli_msg_request.rb', line 8 def initialize (route, input) self.inputs = input self.service_route = route end |