Sha256: 71b9596758405a82f038d7959c9c22ab6d25feb06c4de440b61df8d65ea6559f

Contents?: true

Size: 191 Bytes

Versions: 7

Compression:

Stored size: 191 Bytes

Contents

require 'arthropod'

loop do
  Arthropod::Server.pull(queue_name: "my_little_queue") do |request|
    request.respond request.body["text"].downcase

    request.body["text"].upcase
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arthropod-0.0.7 examples/server.rb
arthropod-0.0.6 examples/server.rb
arthropod-0.0.5 examples/server.rb
arthropod-0.0.4 examples/server.rb
arthropod-0.0.3 examples/server.rb
arthropod-0.0.2 examples/server.rb
arthropod-0.0.1 examples/server.rb