Sha256: 12fe4b0126d0bf7f7019fb9f46e4ce986bdd4ecc06b065425042d4bca9c5d448
Contents?: true
Size: 350 Bytes
Versions: 30
Compression:
Stored size: 350 Bytes
Contents
namespace :team do desc "Import a team and it's members from Github and install a webhook to monitor it" task fetch: :environment do handle = ENV['HANDLE'] team = Team.find_or_create_by_handle(handle) fail "Could not find team with handle: #{handle}" unless team team.setup_hooks(async: false) team.refresh_members! end end
Version data entries
30 entries across 30 versions & 1 rubygems