Sha256: 3e0cc72b4970c891d63a877af0002efeb696e9556e1fbc94c907b5fd1ba9a8e3
Contents?: true
Size: 269 Bytes
Versions: 53
Compression:
Stored size: 269 Bytes
Contents
module WithAuthorization extend ActiveSupport::Concern def authorize_janitor! authorize! :janitor end def authorize_owner! authorize! :owner end def authorization_slug protection_slug || '_/_' end def protection_slug @slug end end
Version data entries
53 entries across 53 versions & 1 rubygems