Class: LSQS::Actions::ListQueues
- Defined in:
- lib/lsqs/actions/list_queues.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#perform(params) ⇒ String
Performs the specific action.
Methods inherited from Base
#build_url, #initialize, #name, #to_xml
Constructor Details
This class inherits a constructor from LSQS::Actions::Base
Instance Method Details
#perform(params) ⇒ String
Performs the specific action.
11 12 13 14 15 16 17 18 19 |
# File 'lib/lsqs/actions/list_queues.rb', line 11 def perform(params) base_url = params['base_url'] queues = queue_list.inspect(params) queues.each do |queue| builder.QueueUrl build_url(base_url, queue) end end |