Class: Twilio::REST::Preview::TrustedComms::BusinessContext::BrandContext::BrandedChannelList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb

Overview

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].

Instance Method Summary collapse

Constructor Details

#initialize(version, business_sid: nil, brand_sid: nil) ⇒ BrandedChannelList

Initialize the BrandedChannelList

Parameters:

  • version (Version)

    Version that contains the resource

  • business_sid (String) (defaults to: nil)

    The unique SID identifier of the Business.

  • brand_sid (String) (defaults to: nil)

    The unique SID identifier of the Brand.



24
25
26
27
28
29
# File 'lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb', line 24

def initialize(version, business_sid: nil, brand_sid: nil)
  super(version)

  # Path Solution
  @solution = {business_sid: business_sid, brand_sid: brand_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation



33
34
35
# File 'lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb', line 33

def to_s
  '#<Twilio.Preview.TrustedComms.BrandedChannelList>'
end