class Decidim::Meetings::DeclineInvitation

def call

Broadcasts :ok if successful, :invalid otherwise.

and there are available slots.
Creates a meeting registration if the meeting has registrations enabled
def call
  return broadcast(:invalid) unless can_decline_invitation?
  decline_invitation
  broadcast(:ok)
end