mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
750e0e8050
* Add SQS object * Add create_queue * Add list_queues * Add delete_queue
26 lines
408 B
Ruby
26 lines
408 B
Ruby
module Fog
|
|
module AWS
|
|
class SQS
|
|
class Real
|
|
|
|
require 'fog/aws/parsers/sqs/list_queues'
|
|
|
|
def list_queues
|
|
request({
|
|
'Action' => 'ListQueues',
|
|
:parser => Fog::Parsers::AWS::SQS::ListQueues.new
|
|
})
|
|
end
|
|
end
|
|
|
|
class Mock
|
|
|
|
def list_queues
|
|
Fog::Mock.not_implemented
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|