lib/fog/rackspace/requests/queues/get_message.rb in fog-1.22.0 vs lib/fog/rackspace/requests/queues/get_message.rb in fog-1.22.1

- old
+ new

@@ -1,11 +1,9 @@ module Fog module Rackspace class Queues - class Real - # This operation gets the specified message from the specified queue. # # @param [String] client_id UUID for the client instance. # @param [String] queue_name Specifies the name of the queue. # @param [Integer] message_id Specifies the message ID. @@ -21,11 +19,10 @@ :method => 'GET', :path => "queues/#{queue_name}/messages/#{message_id}", :headers => { 'Client-ID' => client_id } ) end - end class Mock def get_message(client_id, queue_name, message_id) queue = mock_queue!(queue_name) @@ -37,9 +34,8 @@ response.status = 200 response.body = message.to_h response end end - end end end