Skip to content

Commit

Permalink
add get_queue_url callback implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
benwilson512 committed Sep 16, 2015
1 parent df01545 commit 6c4d5ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/ex_aws/sqs/impl.ex
@@ -1,5 +1,12 @@
defmodule ExAws.SQS.Impl do

def get_queue_url(client, queue_name, opts \\ []) do
params = opts
|> format_regular_opts
|> Map.put("QueueName", queue_name)
request(client, "", "GetQueueUrl", params)
end

def create_queue(client, queue, attributes \\ []) do
params =
attributes
Expand Down

0 comments on commit 6c4d5ed

Please sign in to comment.