lib/telnyx/phone_number.rb in telnyx-2.3.0 vs lib/telnyx/phone_number.rb in telnyx-2.4.0

- old
+ new

@@ -11,11 +11,11 @@ path: ["voice"], operations: %i[update list], instance_methods: { list: "voice" } nested_resource_class_methods "messaging", path: ["messaging"], - operations: %i[update list], + operations: %i[update list retrieve], instance_methods: { list: "messaging" } nested_resource_class_methods "inbound_channel", path: ["inbound_channels"], operations: %i[update list] @@ -35,9 +35,13 @@ self.class.list_inbound_channels(nil).channels end def self.list_voice list_voices nil + end + + def self.messaging + list_messagings(nil) end OBJECT_NAME = "phone_number".freeze end end