Module: AccessRequestable

Extended by:
ActiveSupport::Concern
Included in:
Group, Project
Defined in:
app/models/concerns/access_requestable.rb

Overview

AccessRequestable concern

Contains functionality related to objects that can receive request for access.

Used by Project, and Group.

Instance Method Summary collapse

Instance Method Details

#request_access(user) ⇒ Object


12
13
14
# File 'app/models/concerns/access_requestable.rb', line 12

def request_access(user)
  Members::RequestAccessService.new(user).execute(self)
end