- Ember 1.9.0 and ember-data 1.0.0-beta.12
- Bootstrap-sass 3.0.2
- jquery 1.11.1
All these packages can be installed via Bower. The code has been tested with ember-cli 0.1.4.
# Script to delete slack files starting from 7 days ago | |
require 'net/http' | |
require 'json' | |
api_key = "<YOUR-API-KEY-GOES-HERE>" | |
day_ago = 1488551417 # 7. Otherwise 30: 1486565133 | |
user_url = "https://slack.com/api/users.list?token=#{api_key}" | |
uri = URI(user_url) |