Skip to content

Commit

Permalink
make sure the dequeue method can take an optional http method
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbenton committed Aug 8, 2012
1 parent f6cb108 commit d709ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/twilio-ruby/rest/queues/members.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d709ba5

Please sign in to comment.