Module: BWAPI::Client::Projects::Rules::Backfill

Included in:
BWAPI::Client::Projects::Rules
Defined in:
lib/bwapi/client/projects/rules/backfill.rb

Overview

Backfill module for projects/rules/backfill endpoint

Instance Method Summary collapse

Instance Method Details

#create_rule_backfill(project_id, rule_id) ⇒ Hash

Create a backfill for a rule in project

Parameters:

  • project_id (Integer)

    id The id of project

  • rule_id (Integer)

    id The id of rule

Returns:

  • (Hash)

    Specific rule backfill



12
13
14
# File 'lib/bwapi/client/projects/rules/backfill.rb', line 12

def create_rule_backfill(project_id, rule_id)
  post "projects/#{project_id}/rules/#{rule_id}/backfill"
end