Sha256: d3f8618976e3235eb89f241bc12177b00bc78f053a8899a6c2e28226e095f54c

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 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'
          @devices = nil
          @phone_calls = nil
          @current_calls = nil
          @cps = nil
        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

2 entries across 2 versions & 1 rubygems

Version Path
twilio-ruby-5.25.1 lib/twilio-ruby/rest/preview/trusted_comms.rb
twilio-ruby-5.25.0 lib/twilio-ruby/rest/preview/trusted_comms.rb