Skip to content
Browse files

Added support for updating IncomingPhoneNumber instances.

  • Loading branch information...
1 parent 81f532b commit 84cf36afdfa70195a2f7526298bbbd067113e297 @jsmecham jsmecham committed Jun 27, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/twilio/incoming_phone_number.rb
View
4 lib/twilio/incoming_phone_number.rb
@@ -23,6 +23,10 @@ def create(opts)
Twilio.post("/IncomingPhoneNumbers", :body => opts)
end
+ def update(incoming_sid, opts)
+ Twilio.post("/IncomingPhoneNumbers/#{incoming_sid}", :body => opts)
+ end
+
def delete(incoming_sid)
Twilio.delete("/IncomingPhoneNumbers/#{incoming_sid}")
end

0 comments on commit 84cf36a

Please sign in to comment.
Something went wrong with that request. Please try again.