module BWAPI::Client::Projects::BulkActions::Mentions

Mentions module for projects/bulkactions/mentions endpoints

Public Instance Methods

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

Create a mention delete bulk action

TODO: Add parameters documentation

# File lib/bwapi/client/projects/bulk_actions/mentions.rb, line 22
def bulk_delete_mentions(project_id, opts = {})
  delete "/projects/#{project_id}/bulkactions/mentions", opts
end
bulk_edit_mentions(project_id, opts = {}) click to toggle source

Create a new bulk action in project for mentions

@param project_id [Integer] Id of project @param opts [Hash] options hash of parameters @option opts [Hash] action <mention patch dto> to apply to these mentions @option opts [Hash] filter <filter dto> to specify what kind of mentions this bulk action should apply to @option opts [Integer] sampleAmount Amount to be sample by this bulk action @return [Hash] New bulk action for mentions

# File lib/bwapi/client/projects/bulk_actions/mentions.rb, line 15
def bulk_edit_mentions(project_id, opts = {})
  post "projects/#{project_id}/bulkactions/mentions", opts
end