Class: Twilio::REST::PreviewIam

Inherits:
PreviewIamBase show all
Defined in:
lib/twilio-ruby/rest/preview_iam.rb,
lib/twilio-ruby/rest/preview_iam/v1.rb,
lib/twilio-ruby/rest/preview_iam/v1/token.rb,
lib/twilio-ruby/rest/preview_iam/versionless.rb,
lib/twilio-ruby/rest/preview_iam/v1/authorize.rb,
lib/twilio-ruby/rest/preview_iam/versionless/organization.rb,
lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb,
lib/twilio-ruby/rest/preview_iam/versionless/organization/account.rb,
lib/twilio-ruby/rest/preview_iam/versionless/organization/role_assignment.rb

Defined Under Namespace

Classes: V1, Versionless

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from PreviewIamBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::PreviewIamBase

Instance Method Details

#organizations(organization_sid = nil) ⇒ Object



4
5
6
# File 'lib/twilio-ruby/rest/preview_iam.rb', line 4

def organizations( organization_sid = nil)
  @organizations ||= PreviewIam::Versionless.new(self).organization(organization_sid)
end