Module: Mudguard::Application
- Defined in:
- lib/mudguard/application/application.rb
Overview
API to mudguard
Class Method Summary collapse
- .check(project_path, notification) ⇒ Object
- .print_allowed_dependencies(project_path, notification) ⇒ Object
Class Method Details
.check(project_path, notification) ⇒ Object
11 12 13 14 15 |
# File 'lib/mudguard/application/application.rb', line 11 def check(project_path, notification) create_policies(project_path) do |policies| policies.check(notification) end end |
.print_allowed_dependencies(project_path, notification) ⇒ Object
17 18 19 20 21 |
# File 'lib/mudguard/application/application.rb', line 17 def print_allowed_dependencies(project_path, notification) create_policies(project_path) do |policies| policies.print_allowed_dependencies(notification) end end |