mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
318 B
Ruby
17 lines
318 B
Ruby
![]() |
module Fog
|
||
|
module Rackspace
|
||
|
class Queues
|
||
|
class Real
|
||
|
def create_queue(queue_name)
|
||
|
request(
|
||
|
:body => Fog::JSON.encode({}),
|
||
|
:expects => 201,
|
||
|
:method => 'PUT',
|
||
|
:path => "queues/#{queue_name}"
|
||
|
)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|