Class: BunBun::CLI::ZoneRulesEnable

Inherits:
Command
  • Object
show all
Defined in:
lib/bunbun/cli/zone_rules_enable.rb

Instance Attribute Summary

Attributes inherited from Command

#options

Instance Method Summary collapse

Methods inherited from Command

argument_count, argument_names, option, #option_parser, options

Instance Method Details

#call(zone_id, rule_id) ⇒ Object



2
3
4
# File 'lib/bunbun/cli/zone_rules_enable.rb', line 2

def call(zone_id, rule_id)
  client.pull_zone.edge_rules.enable(zone_id, rule_id)
end