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.
382 383 384 385 386 387 388 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 382 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
475 476 477 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 475 def headers @headers end |
#o_auth_app ⇒ Object
471 472 473 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 471 def o_auth_app @o_auth_app end |
#o_auth_app_instance ⇒ Object
390 391 392 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 390 def o_auth_app_instance @instance end |
#status_code ⇒ Object
479 480 481 |
# File 'lib/twilio-ruby/rest/iam/v1/o_auth_app.rb', line 479 def status_code @status_code end |