Sha256: cc2bf127a300402502b6bb39837a164d9733f86cbb4961b0991f30a6ab871a17

Contents?: true

Size: 411 Bytes

Versions: 13

Compression:

Stored size: 411 Bytes

Contents

module Fog
  module Rackspace
    class Queues
      class Real
        def update_claim(queue_name, claim_id, ttl)
          body = {
            :ttl => ttl
          }
          request(
            :body => Fog::JSON.encode(body),
            :expects => 204,
            :method => 'PATCH',
            :path => "queues/#{queue_name}/claims/#{claim_id}"
          )
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
fog-maestrodev-1.18.0.20131125111730 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131125083406 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131123105121 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131122203507 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131121075022 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131118164830 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131115184302 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131114200144 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131112185232 lib/fog/rackspace/requests/queues/update_claim.rb
fog-maestrodev-1.18.0.20131111203459 lib/fog/rackspace/requests/queues/update_claim.rb
fog-1.18.0 lib/fog/rackspace/requests/queues/update_claim.rb
fog-1.17.0 lib/fog/rackspace/requests/queues/update_claim.rb
fog-1.16.0 lib/fog/rackspace/requests/queues/update_claim.rb