Sha256: 7a66c48bd58e23c6b34983e4405e77fbef096877da873a8cefc4b9413b85037d

Contents?: true

Size: 368 Bytes

Versions: 8

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class MessagingPhoneNumber < APIResource
    include Telnyx::APIOperations::Save
    extend Telnyx::APIOperations::List

    OBJECT_NAME = "messaging_phone_number".freeze
    def self.resource_path(id = nil)
      return "phone_numbers/#{CGI.escape(id)}/messaging" if id
      "phone_numbers/messaging"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
telnyx-3.0.5 lib/telnyx/messaging_phone_number.rb
telnyx-3.0.4 lib/telnyx/messaging_phone_number.rb
telnyx-3.0.3 lib/telnyx/messaging_phone_number.rb
telnyx-3.0.2 lib/telnyx/messaging_phone_number.rb
telnyx-3.0.0 lib/telnyx/messaging_phone_number.rb
telnyx-2.9.0 lib/telnyx/messaging_phone_number.rb
telnyx-2.8.0 lib/telnyx/messaging_phone_number.rb
telnyx-2.7.0 lib/telnyx/messaging_phone_number.rb