Sha256: 8dbd7575774c4e4e8c6c639ae72513321d80c289cf812a990f560e287c8a5bf3

Contents?: true

Size: 688 Bytes

Versions: 39

Compression:

Stored size: 688 Bytes

Contents

VALID_TTL = 300
VALID_GRACE = 300

METADATA_FORMAT = {
}

QUEUE_FORMAT = {
  'metadata' => METADATA_FORMAT
}

LIST_QUEUES_FORMAT = {
  'queues' => [
    QUEUE_FORMAT.merge({
      'name' => String,
      'href' => String,
    })
  ],
  'links' => LINKS_FORMAT
}

MESSAGE_FORMAT = {
  'href' => String,
  'ttl' => Integer,
  'age' => Integer,
  'body' => Hash
}

LIST_MESSAGES_FORMAT = {
 'messages' => [MESSAGE_FORMAT],
 'links' => LINKS_FORMAT
}

CREATE_CLAIM_FORMAT = [
  MESSAGE_FORMAT
]

CLAIM_FORMAT = {
  'ttl' => Integer,
  'age' => Integer,
  'messages' => [
    MESSAGE_FORMAT
  ]
}

QUEUE_STATS_FORMAT = {
  'messages' => {
    'free' => Integer,
    'claimed' => Integer
  }
}

Version data entries

39 entries across 37 versions & 6 rubygems

Version Path
fog-rackspace-0.1.6 tests/rackspace/requests/queues/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/tests/rackspace/requests/queues/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/tests/rackspace/requests/queues/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/tests/rackspace/requests/queues/helper.rb
fog-rackspace-0.1.5 tests/rackspace/requests/queues/helper.rb
fog-rackspace-0.1.4 tests/rackspace/requests/queues/helper.rb
fog-rackspace-0.1.3 tests/rackspace/requests/queues/helper.rb
fog-rackspace-0.1.2 tests/rackspace/requests/queues/helper.rb
fog-rackspace-0.1.1 tests/rackspace/requests/queues/helper.rb
fog-rackspace-0.1.0 tests/rackspace/requests/queues/helper.rb
fog-1.37.0 tests/rackspace/requests/queues/helper.rb
fog-1.36.0 tests/rackspace/requests/queues/helper.rb
fog-1.35.0 tests/rackspace/requests/queues/helper.rb
fog-2.0.0.pre.0 tests/rackspace/requests/queues/helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/rackspace/requests/queues/helper.rb
fog-1.34.0 tests/rackspace/requests/queues/helper.rb
fog-1.33.0 tests/rackspace/requests/queues/helper.rb
fog-1.32.0 tests/rackspace/requests/queues/helper.rb
fog-1.31.0 tests/rackspace/requests/queues/helper.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/rackspace/requests/queues/helper.rb