Sha256: 3aa93ee744e4b1700fe9a77f14b6371c0a1508583bef5f8b14e49a7cef32f456

Contents?: true

Size: 1.49 KB

Versions: 5

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
          @cps = nil
          @current_calls = nil
          @devices = nil
          @phone_calls = nil
        end

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

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

        ##
        # @return [Twilio::REST::Preview::TrustedComms::CurrentCallContext]
        def current_calls
          @current_calls ||= CurrentCallContext.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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-5.31.0 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.30.0 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.29.1 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.29.0 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.25.2 lib/twilio-ruby/rest/preview/trusted_comms.rb