Class: Twilio::REST::Preview::TrustedComms::BusinessContext::InsightsInstance

Inherits:
InstanceResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/preview/trusted_comms/business/insights.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, payload, business_sid: nil) ⇒ InsightsInstance

Initialize the InsightsInstance

Parameters:

  • version (Version)

    Version that contains the resource

  • payload (Hash)

    payload that contains response from Twilio

  • business_sid (String) (defaults to: nil)

    A 34 character string that uniquely identifies this Business.



91
92
93
# File 'lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb', line 91

def initialize(version, payload, business_sid: nil)
  super(version)
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation



103
104
105
# File 'lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb', line 103

def inspect
  "<Twilio.Preview.TrustedComms.InsightsInstance>"
end

#to_sObject

Provide a user friendly representation



97
98
99
# File 'lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb', line 97

def to_s
  "<Twilio.Preview.TrustedComms.InsightsInstance>"
end