Sha256: c085ac9c243b4cf548fc1a4c5ed8c6929626bee549f57d73815c4f57d058936f
Contents?: true
Size: 505 Bytes
Versions: 4
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Telnyx class PhoneNumberCampaign < APIResource extend APIOperations::List extend APIOperations::Create include APIOperations::Delete include APIOperations::Save def self.resource_url(inner_id = nil) path_prefix = "/10dlc" object_path = "campaign" inner_id.nil? ? "#{path_prefix}/#{object_path}" : "#{path_prefix}/#{object_path}/#{CGI.escape(inner_id)}" end OBJECT_NAME = "10dlc/phoneNumberCampaign".freeze end end
Version data entries
4 entries across 4 versions & 1 rubygems