Class: Awful::WAF::Base
- Defined in:
- lib/awful/waf.rb,
lib/awful/waf_acl.rb,
lib/awful/waf_rule.rb,
lib/awful/waf_ipset.rb
Instance Method Summary collapse
Methods inherited from Cli
Constructor Details
This class inherits a constructor from Awful::Cli
Instance Method Details
#change(token = nil) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/awful/waf.rb', line 29 def change(token = nil) if token waf.get_change_token_status(change_token: token).change_token_status.output(&method(:puts)) else waf.get_change_token.change_token.output(&method(:puts)) end end |