Class: Twilio::REST::Intelligence::V2::TranscriptContext::EncryptedSentencesListResponse
- Inherits:
-
Twilio::REST::InstanceListResource
- Object
- Twilio::REST::InstanceListResource
- Twilio::REST::Intelligence::V2::TranscriptContext::EncryptedSentencesListResponse
- Defined in:
- lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb
Instance Method Summary collapse
- #encrypted_sentences_instance ⇒ Object
-
#initialize(version, payload, key) ⇒ EncryptedSentencesListResponse
constructor
A new instance of EncryptedSentencesListResponse.
Constructor Details
#initialize(version, payload, key) ⇒ EncryptedSentencesListResponse
Returns a new instance of EncryptedSentencesListResponse.
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 |