forked from xmatters/xm-labs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileA.js
More file actions
28 lines (24 loc) · 695 Bytes
/
FileA.js
File metadata and controls
28 lines (24 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* MyLib Shared Library
*
* This shared library is for interacting with Application XYZ
*
* Exposed methods:
* doStuff - Does stuff and makes calls to other stuff.
* parameter1 - string - action name
* parameter2 - object - Object to do stuff with
*
* getStuff - Gets stuff from the thing
* parameter1 - string - The name of stuff to get
*
* Usage:
If not included in the Installation, then some useage example(s) for making calls to the methods in this file
var myLib = require( 'FileA' );
var stuff = myLib.getStuff( 'tasty' );
*/
exports.doStuff( p1, p2 ) {
// Do stuff here
}
exports.getStuff( p1 ) {
// Go get stuff
}