Sha256: ab3c697abbdc3725833757d0b784d28e0d2f80cd8bb44f030a65058ed5ba0c1b
Contents?: true
Size: 291 Bytes
Versions: 3
Compression:
Stored size: 291 Bytes
Contents
require File.expand_path('../../spec_helper.rb', __FILE__) class HelloPlutoHandler include Buster::CommandHandler def execute(props) reply :hello_earth, 'name' => props['name'].reverse end end trap("TERM") { Buster.stop } Buster.local_endpoint = 'ipc://pluto.ipc' Buster.start
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
buster-0.1.3 | spec/test_endpoints/pluto.rb |
buster-0.1.2 | spec/test_endpoints/pluto.rb |
buster-0.1.1 | spec/test_endpoints/pluto.rb |