Sha256: cfed82fb5960369281f2068a4a91d72ee7f7894f9769519d2eabec07ef87a579
Contents?: true
Size: 726 Bytes
Versions: 2
Compression:
Stored size: 726 Bytes
Contents
$:.unshift( File.dirname(__FILE__) ) unless $:.include?( File.dirname(__FILE__) ) require 'rubygems' require 'active_support' # Provide a thin wrapper around the OpenWFE::InFlowWorkItem instances # that eases interacting with the workitems from outside of the # running engine. module RuoteExternalWorkitem autoload :Base, "ruote_external_workitem/base" autoload :REST, "ruote_external_workitem/rest" autoload :AMQP, "ruote_external_workitem/amqp" autoload :XMPP, "ruote_external_workitem/xmpp" class << self # Parse the string representation of a OpenWFE::InFlowWorkItem # instance from JSON def parse( json_string ) Base.new( ActiveSupport::JSON.decode( json_string ) ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simianarmy-ruote-external-workitem-rails-0.1.0 | lib/ruote_external_workitem.rb |
simianarmy-ruote-external-workitem-rails-0.2.0 | lib/ruote_external_workitem.rb |