Class: Twilio::REST::Trusthub::V1::CustomerProfilesListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Trusthub::V1::CustomerProfilesListResponse
- Defined in:
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb
Instance Method Summary collapse
- #customer_profiles ⇒ Object
- #customer_profiles_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesListResponse
constructor
A new instance of CustomerProfilesListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesListResponse
Returns a new instance of CustomerProfilesListResponse.
529 530 531 532 533 534 535 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 529 def initialize(version, payload, key) @customer_profiles_instance = payload.body[key].map do |data| CustomerProfilesInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#customer_profiles ⇒ Object
618 619 620 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 618 def customer_profiles @customer_profiles end |
#customer_profiles_instance ⇒ Object
537 538 539 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 537 def customer_profiles_instance @instance end |
#headers ⇒ Object
622 623 624 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 622 def headers @headers end |
#status_code ⇒ Object
626 627 628 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 626 def status_code @status_code end |