Class: Group

Group(group, opts)

The Group class wraps a group.

Cannot directly be instantiated

Constructor

new Group(group, opts)

Creates a Group.

Parameters:
Name Type Description
group object

The initial group object. This Group object will be extended with group properties.

opts object

The configuration options.

Properties
Name Type Description
groups string

The Groups object linked to this group.

Source:

Methods

save(optsopt) → {Promise}

Saves the group.

Parameters:
Name Type Attributes Description
opts object <optional>

Options overriding the ones from this object.

Source:
Returns:

A promise object resolved with the updated group.

Type
Promise