Class: Twilio::REST::Webhooks::V1::AuthProfileListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Webhooks::V1::AuthProfileListResponse
- Defined in:
- lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb,
lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb
Instance Method Summary collapse
- #auth_profile ⇒ Object
- #auth_profile_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ AuthProfileListResponse
constructor
A new instance of AuthProfileListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ AuthProfileListResponse
Returns a new instance of AuthProfileListResponse.
522 523 524 525 526 527 528 |
# File 'lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb', line 522 def initialize(version, payload, key) @auth_profile_instance = payload.body[key].map do |data| AuthProfileInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#auth_profile ⇒ Object
612 613 614 |
# File 'lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb', line 612 def auth_profile @auth_profile end |
#auth_profile_instance ⇒ Object
530 531 532 |
# File 'lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb', line 530 def auth_profile_instance @instance end |
#headers ⇒ Object
616 617 618 |
# File 'lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb', line 616 def headers @headers end |
#status_code ⇒ Object
620 621 622 |
# File 'lib/twilio-ruby/rest/webhooks/v1/auth_profile.rb', line 620 def status_code @status_code end |