Skip to content

Commit

Permalink
feat: add oauth support for ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 committed Dec 9, 2024
1 parent 447a3af commit a42273b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 2 additions & 8 deletions lib/twilio-ruby/rest/preview_iam.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
module Twilio
module REST
class PreviewIam < PreviewIamBase
def account
self.organizations.accounts
end
def role_assignment
self.organizations.role_assignments
end
def user
self.organizations.users
def organizations( organization_sid = nil)
@organizations ||= PreviewIam::Versionless.new(self).organization(organization_sid)
end
end
end
Expand Down
4 changes: 0 additions & 4 deletions lib/twilio-ruby/rest/preview_iam_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ def initialize(twilio)
@v1 = nil
end

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

def v1
@v1 ||= PreviewIam::V1.new(self)
end
Expand Down

0 comments on commit a42273b

Please sign in to comment.