module BWAPI::Client::Projects::Categories::Copy

Mentions module for projects/categories/copy endpoints

Public Instance Methods

copy_category(project_id, category_id, opts = {}) click to toggle source

Copy and existing category to another project

@param project_id [Integer] Id of project @param category_id [Integer] Id of query group @param opts [Hash] options hash of parameters @option opts [Hash] destinationProjectId target project id for copy @return [Hash] Copied category

# File lib/bwapi/client/projects/categories/copy.rb, line 14
def copy_category(project_id, category_id, opts = {})
  post "projects/#{project_id}/categories/#{category_id}/copy", opts
end