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

Includes:
Author, Mentions
Included in:
BWAPI::Client::Projects
Defined in:
lib/bwapi/client/projects/bulk_actions.rb,
lib/bwapi/client/projects/bulk_actions/author.rb,
lib/bwapi/client/projects/bulk_actions/mentions.rb

Overview

BulkActions module for projects/bulkactions endpoint

Defined Under Namespace

Modules: Author, Mentions

Instance Method Summary collapse

Methods included from Author

#bulk_edit_author

Methods included from Mentions

#bulk_edit_mentions

Instance Method Details

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

Get all bulk actions in project

Parameters:

  • project_id (Integer)

    Id of project

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

    options hash of parameters

Options Hash (opts):

  • page (Integer)

    Page of projects to retrieve

  • pageSize (Integer)

    Results per page of results

  • sinceDate (String)

    the start date to get bulk actions from

Returns:

  • (Hash)

    All bulk actions in project



17
18
19
# File 'lib/bwapi/client/projects/bulk_actions.rb', line 17

def bulk_actions(project_id, opts = {})
  get "projects/#{project_id}/bulkactions", opts
end