Class: Twilio::REST::Trusthub::V1::CustomerProfilesProvisionalCopyListResponse

Inherits:
InstanceListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, payload, key) ⇒ CustomerProfilesProvisionalCopyListResponse

Returns a new instance of CustomerProfilesProvisionalCopyListResponse.

Parameters:



198
199
200
201
202
203
204
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb', line 198

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

Instance Method Details

#customer_profiles_provisional_copy_instance ⇒ Object



206
207
208
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb', line 206

def customer_profiles_provisional_copy_instance
    @instance
end