Sha256: 4c678afc457b0b378221351795cb406de6b4b126f35803478af641063ef553df
Contents?: true
Size: 495 Bytes
Versions: 55
Compression:
Stored size: 495 Bytes
Contents
module Appfuel # 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 # class CliMsgRequest < MsgRequest def initialize (route, input) self.inputs = input self.service_route = route end private def inputs=(data) fail "input must be a hash" unless data.is_a?(Hash) @inputs = data end end end
Version data entries
55 entries across 55 versions & 1 rubygems