| Class | Fog::Rackspace::Queues::Mock::MockQueue |
| In: |
lib/fog/rackspace/queues.rb
|
| Parent: | Object |
An in-memory Queue implementation.
| claims | [RW] | |
| messages | [RW] | |
| metadata | [RW] | |
| name | [RW] |
Append a new message to the queue.
@param client_id [String] UUID for the service object. @param data [Hash] Message payload. @param ttl [Integer] Number of seconds that the message should exist. @return [MockMessage] The message object that was created.
The most recently published message on this queue, or `nil`.
@return [MockMessage|UndefinedObject]
The oldest published message on this queue, or `nil`.
@return [MockMessage|UndefinedObject]