Sha256: 26d2eddc4f4f19a8c4fa985fb097c27617e48b8a72b4c9225211fecbd042e0cc
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
class TestService < Seamless::Service handles_message 'seamless.test.message.request', :testMessage, 'seamless.test.message' def testMessage(request,message) p "received message: #{message.inspect}" msg = message["message"] {"message"=>"I received from you: #{msg}","success"=>true} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seamless-1.0.0 | seamless/templates/test_service.rb |