Class: Twilio::REST::Iam::V1::OAuthAppListResponse
- Inherits:
-
Twilio::REST::InstanceListResource
- Object
- Twilio::REST::InstanceListResource
- Twilio::REST::Iam::V1::OAuthAppListResponse
- Defined in:
- lib/twilio-ruby/rest/iam/v1/o_auth_app.rb,
lib/twilio-ruby/rest/iam/v1/o_auth_app.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ OAuthAppListResponse
constructor
A new instance of OAuthAppListResponse.
- #o_auth_app ⇒ Object
- #o_auth_app_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ OAuthAppListResponse
Returns a new instance of OAuthAppListResponse.
388 389 390 391 392 393 394 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 388 def initialize(version, payload, key) @o_auth_app_instance = payload.body[key].map do |data| OAuthAppInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
481 482 483 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 481 def headers @headers end |
#o_auth_app ⇒ Object
477 478 479 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 477 def o_auth_app @o_auth_app end |
#o_auth_app_instance ⇒ Object
396 397 398 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 396 def o_auth_app_instance @instance end |
#status_code ⇒ Object
485 486 487 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 485 def status_code @status_code end |