/**
 * Invitations Component
 *
 * @class Invitations
 */
class Invitations {

  /**
   * @constructor
   *
   * @param {Organization} org     Organization
   * @param {App}          app     Organizations App
   * @param {Object}       options Component options
   */
  constructor (org, app, options = {}) {

    this._org = org;
    this._app = app;
    this._options = options;

  }

  /**
   * Invites a new User to the Organization
   *
   * @method   inviteUser
   * @memberOf Organizations
   * @param    {String} email  Users email address
   */
  invite (email) {

  }

  /**
   * Allows the current User to accept an invitation
   * to join an Organization
   *
   * @method   acceptInvitation
   * @memberOf Organizations
   */
  accept () {

  }

  /**
   * Allows the current User to decline an invitation
   * to join an Organization
   *
   * @method   declineInvitation
   * @memberOf Organizations
   */
  decline () {

  }

}

Organizations.components.organization.Invitations = Invitations;