Campaign module - Attester documentation

Campaign module

This module is used to create campaigns from a configuration object.

Methods

  • attester.campaign.create(campaign, override) Create a campaign from the configuration object.
    • campaign is a JSON object that describe the campaign, the format is described in the article about confguration file.
    • override is another JSON object, optional, that can be used to override values from the previous object.

Events

  • campaign.create When attester.campaign.create() gets called