Class: Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesEvaluationsListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesEvaluationsListResponse
- Defined in:
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb
Instance Method Summary collapse
- #customer_profiles_evaluations ⇒ Object
- #customer_profiles_evaluations_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesEvaluationsListResponse
constructor
A new instance of CustomerProfilesEvaluationsListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesEvaluationsListResponse
Returns a new instance of CustomerProfilesEvaluationsListResponse.
326 327 328 329 330 331 332 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 326 def initialize(version, payload, key) @customer_profiles_evaluations_instance = payload.body[key].map do |data| CustomerProfilesEvaluationsInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#customer_profiles_evaluations ⇒ Object
415 416 417 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 415 def customer_profiles_evaluations @customer_profiles_evaluations end |
#customer_profiles_evaluations_instance ⇒ Object
334 335 336 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 334 def customer_profiles_evaluations_instance @instance end |
#headers ⇒ Object
419 420 421 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 419 def headers @headers end |
#status_code ⇒ Object
423 424 425 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 423 def status_code @status_code end |