Module: MuckGroups::Models::MuckMembershipRequest

Extended by:
ActiveSupport::Concern
Defined in:
lib/muck-groups/models/membership_request.rb

Instance Method Summary collapse

Instance Method Details

#decline(decliner) ⇒ Object



13
14
15
16
17
# File 'lib/muck-groups/models/membership_request.rb', line 13

def decline(decliner)
  return false if !group.can_edit?(decliner)
  destroy
  return true
end