Module: BWAPI::Client::Projects::Rules::Copy
- Included in:
- BWAPI::Client::Projects::Rules
- Defined in:
- lib/bwapi/client/projects/rules/copy.rb
Overview
Backfill module for projects/rules/copy endpoint
Instance Method Summary collapse
-
#create_rule_copy(project_id, rule_id, opts = {}) ⇒ Hashie::Mash
Copy a rule to another project.
Instance Method Details
#create_rule_copy(project_id, rule_id, opts = {}) ⇒ Hashie::Mash
Copy a rule to another project
16 17 18 |
# File 'lib/bwapi/client/projects/rules/copy.rb', line 16 def create_rule_copy(project_id, rule_id, opts = {}) post "projects/#{project_id}/rules/#{rule_id}/copy", opts end |