class Telnyx::PhoneNumber
Constants
- OBJECT_NAME
Public Class Methods
list_voice(*args, **kwargs)
click to toggle source
# File lib/telnyx/phone_number.rb, line 38 def self.list_voice(*args, **kwargs) list_voices(nil, *args, **kwargs) end
messaging()
click to toggle source
# File lib/telnyx/phone_number.rb, line 42 def self.messaging list_messagings(nil) end
Public Instance Methods
inbound_channels()
click to toggle source
# File lib/telnyx/phone_number.rb, line 34 def inbound_channels self.class.list_inbound_channels(nil).channels end
update_inbound_channels=(val)
click to toggle source
# File lib/telnyx/phone_number.rb, line 30 def update_inbound_channels=(val) self.class.update_inbound_channel(nil, nil, channels: val) end
update_messaging(opts)
click to toggle source
# File lib/telnyx/phone_number.rb, line 22 def update_messaging(opts) self.class.update_messaging(id, nil, opts) end
update_voice(opts)
click to toggle source
# File lib/telnyx/phone_number.rb, line 26 def update_voice(opts) self.class.update_voice(id, nil, opts) end