Class: Twilio::REST::Intelligence::V2::TranscriptContext::EncryptedSentencesListResponse

Inherits:
Twilio::REST::InstanceListResource show all
Defined in:
lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, payload, key) ⇒ EncryptedSentencesListResponse

Returns a new instance of EncryptedSentencesListResponse.

Parameters:



168
169
170
171
172
173
174
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb', line 168

def initialize(version, payload, key)
   @encrypted_sentences_instance = payload.body[key].map do |data|
    EncryptedSentencesInstance.new(version, data)
   end
   @headers = payload.headers
   @status_code = payload.status_code
end

Instance Method Details

#encrypted_sentences_instance ⇒ Object



176
177
178
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb', line 176

def encrypted_sentences_instance
    @instance
end