Module: BWAPI::Client::Projects::BulkActions::Mentions

Included in:
BWAPI::Client::Projects::BulkActions
Defined in:
lib/bwapi/client/projects/bulk_actions/mentions.rb

Overview

Mentions module for projects/bulkactions/mentions endpoints

Instance Method Summary collapse

Instance Method Details

#bulk_edit_mentions(project_id, opts = {}) ⇒ Hash

Create a new bulk action in project for mentions

Parameters:

  • project_id (Integer)

    Id of project

  • opts (Hash) (defaults to: {})

    options hash of parameters

Options Hash (opts):

  • action (Hash)

    <mention patch dto> to apply to these mentions

  • filter (Hash)

    <filter dto> to specify what kind of mentions this bulk action should apply to

  • sampleAmount (Integer)

    Amount to be sample by this bulk action

Returns:

  • (Hash)

    New bulk action for mentions



15
16
17
# 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