Sha256: 8432c744eb84017448b2c8647bd1053da96ac8e300a94f344f3e92f22cba468f
Contents?: true
Size: 1.09 KB
Versions: 5
Compression:
Stored size: 1.09 KB
Contents
# gem dependencies require "active_support/core_ext/hash/indifferent_access" require "active_support/core_ext/hash/except" require "active_support/dependencies/autoload" require "bunny" # standard library require "json" require "optparse" # project require "carrot_rpc/version" # An opinionated approach to doing Remote Procedure Call (RPC) with RabbitMQ and the bunny gem. CarrotRpc serves as a # way to streamline the RPC workflow so developers can focus on the implementation and not the plumbing when working # with RabbitMQ. module CarrotRpc extend ActiveSupport::Autoload autoload :CLI autoload :ClientServer autoload :Configuration autoload :Error autoload :HashExtensions autoload :RpcClient autoload :RpcServer autoload :ServerRunner autoload :TaggedLog class << self attr_writer :configuration end def self.configuration @configuration ||= Configuration.new end # Resets the configuration back to a new instance. Should only be used in testing. def self.reset @configuration = Configuration.new end def self.configure yield configuration end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
carrot_rpc-0.4.1 | lib/carrot_rpc.rb |
carrot_rpc-0.4.0 | lib/carrot_rpc.rb |
carrot_rpc-0.3.0 | lib/carrot_rpc.rb |
carrot_rpc-0.2.3 | lib/carrot_rpc.rb |
carrot_rpc-0.2.3.pre | lib/carrot_rpc.rb |