Skip to content

Commit

Permalink
changed examples.rb to show creating a new queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Sanchez committed Aug 7, 2012
1 parent 8fe2d14 commit 32c8852
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@

################ QUEUES ###################

# create a new queue
@queue = @account.queues.create({
'FriendlyName' => 'MyQueue',
'MaxSize' => 50
})

# get a list of queues for this account
@queues = @account.queues.list

Expand Down

0 comments on commit 32c8852

Please sign in to comment.