Class: Twilio::REST::PreviewIam::Versionless::OrganizationPage
- Inherits:
-
Twilio::REST::Page
- Object
- Twilio::REST::Page
- Twilio::REST::PreviewIam::Versionless::OrganizationPage
- Defined in:
- lib/twilio-ruby/rest/preview_iam/versionless/organization.rb
Constant Summary
Constants inherited from Twilio::REST::Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ OrganizationInstance
Build an instance of OrganizationInstance.
-
#initialize(version, response, solution) ⇒ OrganizationPage
constructor
Initialize the OrganizationPage.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Twilio::REST::Page
#each, #load_page, #next_page, #next_page_url, #previous_page, #previous_page_url, #process_response
Constructor Details
#initialize(version, response, solution) ⇒ OrganizationPage
Initialize the OrganizationPage
172 173 174 175 176 177 |
# File 'lib/twilio-ruby/rest/preview_iam/versionless/organization.rb', line 172 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ OrganizationInstance
Build an instance of OrganizationInstance
183 184 185 |
# File 'lib/twilio-ruby/rest/preview_iam/versionless/organization.rb', line 183 def get_instance(payload) OrganizationInstance.new(@version, payload) end |
#to_s ⇒ Object
Provide a user friendly representation
189 190 191 |
# File 'lib/twilio-ruby/rest/preview_iam/versionless/organization.rb', line 189 def to_s '<Twilio.PreviewIam.Versionless.OrganizationPage>' end |