Sha256: a8ad9ba97b87e8d18174613b89a0c6557d96d35d04343ac7e7c715196b707dfb

Contents?: true

Size: 917 Bytes

Versions: 15

Compression:

Stored size: 917 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class MessagingProfile < APIResource
    include Telnyx::APIOperations::Save
    include Telnyx::APIOperations::Delete
    extend Telnyx::APIOperations::List
    extend Telnyx::APIOperations::Create
    extend Telnyx::APIOperations::NestedResource

    OBJECT_NAME = "messaging_profile".freeze

    nested_resource_class_methods :phone_number,
                                  operations: %i[list],
                                  instance_methods: { list: "phone_numbers" }
    nested_resource_class_methods :short_code,
                                  operations: %i[list],
                                  instance_methods: { list: "short_codes" }
    nested_resource_class_methods :alphanumeric_sender_id,
                                  operations: %i[list],
                                  instance_methods: { list: "alphanumeric_sender_ids" }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
telnyx-2.9.0 lib/telnyx/messaging_profile.rb
telnyx-2.8.0 lib/telnyx/messaging_profile.rb
telnyx-2.7.0 lib/telnyx/messaging_profile.rb
telnyx-2.6.0 lib/telnyx/messaging_profile.rb
telnyx-2.5.0 lib/telnyx/messaging_profile.rb
telnyx-2.4.0 lib/telnyx/messaging_profile.rb
telnyx-2.3.0 lib/telnyx/messaging_profile.rb
telnyx-2.2.0 lib/telnyx/messaging_profile.rb
telnyx-0.1.0 lib/telnyx/messaging_profile.rb
telnyx-0.0.8 lib/telnyx/messaging_profile.rb
telnyx-0.0.7 lib/telnyx/messaging_profile.rb
telnyx-0.0.6 lib/telnyx/messaging_profile.rb
telnyx-0.0.5 lib/telnyx/messaging_profile.rb
telnyx-0.0.4 lib/telnyx/messaging_profile.rb
telnyx-0.0.3 lib/telnyx/messaging_profile.rb