diff --git a/oauth_test.rb b/oauth_test.rb deleted file mode 100644 index 6644281f7..000000000 --- a/oauth_test.rb +++ /dev/null @@ -1,10 +0,0 @@ -require './lib/twilio-ruby' -require './lib/twilio-ruby/base/client_base' -require './lib/twilio-ruby/credential/client_credential_provider' -# credential_provider = Twilio::REST::ClientCredentialProvider.new(ENV['CLIENT_ID'], ENV['CLIENT_SECRET']) -client = Twilio::REST::Client.new(ENV['SID'], ENV['TOKEN']) #.credential_provider(credential_provider) -# response = client.preview_iam.organizations(ENV['ORG_SID']).accounts.list -response = client.messages.list(limit: 20, page_size: 10) -response.each do |record| - puts record.sid -end