class Forty::Rake::Task

Public Instance Methods

install_tasks() click to toggle source
# File lib/forty/rake/task.rb, line 9
def install_tasks
  namespace :acl do
    namespace :sync do
      desc 'syncs entire acl config with database'
      task :all, [:disable_dry_run] do |t, args|
        dry_run = args[:disable_dry_run].eql?('true') ? false : true
        Forty.sync(dry_run)
      end
    end
  end
end