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,
lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb
Instance Method Summary collapse
- #encrypted_sentences ⇒ Object
- #encrypted_sentences_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ EncryptedSentencesListResponse
constructor
A new instance of EncryptedSentencesListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ 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 ⇒ Object
257 258 259 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb', line 257 def encrypted_sentences @encrypted_sentences end |
#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 |
#headers ⇒ Object
261 262 263 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb', line 261 def headers @headers end |
#status_code ⇒ Object
265 266 267 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb', line 265 def status_code @status_code end |