1.0.0 • Published 7 years ago

nforce-actions v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

nforce-actions

An nforce plugin that facilitates working with actions

Installation

First, install nforce-actions with npm

$ npm install nforce-actions

Load the plugin

var nforce = require('nforce');

// load the nforce-actions plugin
require('nforce-actions')(nforce);

var org = nforce.createConnection({
  clientId: '<client_id>',
  clientSecret: '<client_secret>',
  redirectUri: '<redirect_uri>',
  username: process.env.SFUSER,
  password: process.env.SFPASS,
  plugins: ['customActions'] // loads the plugin in this connection
});