Class: Cli::FaspCommand
- Inherits:
-
Thor
- Object
- Thor
- Cli::FaspCommand
- Defined in:
- app/lib/cli/fasp_command.rb
Constant Summary collapse
- DESCRIPTION =
"interact with FASP servers"
Instance Method Summary collapse
Instance Method Details
#prune ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'app/lib/cli/fasp_command.rb', line 9 def prune [ Model, Creator, Collection ].each do Pundit::PolicyFinder.new(it).scope.new(nil, it).resolve.each do |x| x.send :fasp_emit_lifecycle_announcement, "new" end end end |