Sha256: 3c35a2a9ecc664744573d104151cb8606b0f0a0da5568d52e4ed1ee6bafc0f03

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 KB

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /
#
# frozen_string_literal: true

module Twilio
  module REST
    class Preview
      class TrustedComms < Version
        ##
        # Initialize the TrustedComms version of Preview
        def initialize(domain)
          super
          @version = 'TrustedComms'
          @branded_calls = nil
          @devices = nil
          @phone_calls = nil
          @current_calls = nil
          @cps = nil
        end

        ##
        # @return [Twilio::REST::Preview::TrustedComms::BrandedCallContext]
        def branded_calls
          @branded_calls ||= BrandedCallList.new self
        end

        ##
        # @return [Twilio::REST::Preview::TrustedComms::DeviceContext]
        def devices
          @devices ||= DeviceList.new self
        end

        ##
        # @return [Twilio::REST::Preview::TrustedComms::PhoneCallContext]
        def phone_calls
          @phone_calls ||= PhoneCallList.new self
        end

        ##
        # @return [Twilio::REST::Preview::TrustedComms::CurrentCallContext]
        def current_calls
          @current_calls ||= CurrentCallContext.new self
        end

        ##
        # @return [Twilio::REST::Preview::TrustedComms::CpsContext]
        def cps
          @cps ||= CpsContext.new self
        end

        ##
        # Provide a user friendly representation
        def to_s
          '<Twilio::REST::Preview::TrustedComms>'
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
twilio-ruby-5.28.0 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.27.1 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.27.0 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.26.0 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.25.4 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.25.3 lib/twilio-ruby/rest/preview/trusted_comms.rb