Class: Awful::WAF::Acl
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Cli
Constructor Details
This class inherits a constructor from Awful::Cli
Instance Method Details
#ls ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/awful/waf_acl.rb', line 14 def ls list_thing(:web_acls).output do |list| if [:long] print_table list.map { |a| [a.name, a.web_acl_id] } else puts list.map(&:name) end end end |