Permalink
Browse files

make sure the dequeue method can take an optional http method

  • Loading branch information...
1 parent f6cb108 commit d709ba5c88926a2a849321b318567d727b83e33c @andrewmbenton andrewmbenton committed Aug 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/twilio-ruby/rest/queues/members.rb
@@ -9,8 +9,8 @@ def initialize(uri, client)
end
class Member < InstanceResource
- def dequeue(url)
- update :url => url
+ def dequeue(url, method='POST')
+ update :url => url, :method => method
end
end
end

0 comments on commit d709ba5

Please sign in to comment.