Permalink
Browse files

minor queue documentation tweaks

  • Loading branch information...
1 parent 5d6915f commit def834b48acf6ee046dbf949aa66fe2591706026 @andrewmbenton andrewmbenton committed Aug 8, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 examples/examples.rb
View
7 examples/examples.rb
@@ -95,10 +95,7 @@
################ QUEUES ###################
# create a new queue
-@queue = @account.queues.create({
- 'FriendlyName' => 'MyQueue',
- 'MaxSize' => 50
-})
+@queue = @account.queues.create(:friendly_name => 'MyQueue', :max_size => 50)
# get a list of queues for this account
@queues = @account.queues.list
@@ -109,7 +106,7 @@
#list members
@members.list.each do |m|
- puts m
+ puts m.call_sid
end
# dequeue a particular user and run twiml at a specific url

0 comments on commit def834b

Please sign in to comment.