diff --git a/deprecated/api/update_users_timezone/ruby/README.md b/api/update_users_timezone/ruby/README.md similarity index 100% rename from deprecated/api/update_users_timezone/ruby/README.md rename to api/update_users_timezone/ruby/README.md diff --git a/deprecated/api/update_users_timezone/ruby/example.csv b/api/update_users_timezone/ruby/example.csv similarity index 100% rename from deprecated/api/update_users_timezone/ruby/example.csv rename to api/update_users_timezone/ruby/example.csv diff --git a/deprecated/api/update_users_timezone/ruby/update_users_timezone.rb b/api/update_users_timezone/ruby/update_users_timezone.rb similarity index 94% rename from deprecated/api/update_users_timezone/ruby/update_users_timezone.rb rename to api/update_users_timezone/ruby/update_users_timezone.rb index 3ad66ae..e56c7a7 100644 --- a/deprecated/api/update_users_timezone/ruby/update_users_timezone.rb +++ b/api/update_users_timezone/ruby/update_users_timezone.rb @@ -1,4 +1,4 @@ -# Working as of 03/24/2016 +# Working as of 08/30/2018 require 'typhoeus' require 'csv' @@ -6,7 +6,6 @@ access_token = '' domain = '' # this would be canvas or canvas.test/canvas.beta csv_path = "full/path/to/file.csv" -time_zone = "America/New_York" ########################### DO NOT EDIT ############################## url = "https://#{domain}.test.instructure.com/api/v1/" # remove or add test & beta if needed