Sha256: d8f43c46314ed83495c340522944e9c54fc5758887f3f48dff5354f260b0316b
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
module Twilio class TollFreePhoneNumber < TwilioObject def create(url, area_code = nil, method = 'POST', friendly_name = nil) self.connection.class.post("/IncomingPhoneNumbers/TollFree", :body => { :Url => url, :AreaCode => area_code, :Method => method, :FriendlyName => friendly_name }) end def list self.connection.class.get("/IncomingPhoneNumbers/TollFree") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webficient-twilio-1.0.0 | lib/twilio/toll_free_phone_number.rb |
webficient-twilio-1.2.0 | lib/twilio/toll_free_phone_number.rb |