Skip to content

Add Invitable interface #6

@rsmithlal

Description

@rsmithlal

We need to add a new module to contain the behaviour and relationships for invitable classes.

Tasks

  • Create a new Inviteable module
  • Instance methods
    • invite - Called on an instance of an inviteable record. Takes an identity as an argument, with an optional role
    • uninvite - Takes an identity as an argument

Relationships

  • has_many invitations
  • has_many invitees - through invitations

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions