Skip to content

Instantly share code, notes, and snippets.

View ehq's full-sized avatar

Lucas Nasif ehq

  • https://thinklemma.com
  • Argentina
View GitHub Profile
@ehq
ehq / def2.rb
Created August 13, 2011 06:17 — forked from anonymous/def2.rb
Ruote.process_definition do
sequence do
my_participant :name => 'x', :ptimeout => '10d', :reminder => '9d'
end
# ...
define 'my_participant' do
anonymous
anonymous / def2.rb
Created August 11, 2011 01:06
Ruote.process_definition do
sequence do
my_participant :name => 'x', :ptimeout => '10d', :reminder => '9d'
end
# ...
define 'my_participant' do
@tomlea
tomlea / gist:207938
Created October 11, 2009 22:55
This is very rough and ready.
require "net/http"
# Example Usage:
#
# use Rack::Proxy do |req|
# if req.path =~ %r{^/remote/service.php$}
# URI.parse("http://remote-service-provider.com/service-end-point.php?#{req.query}")
# end
# end
#