Sha256: 76cc93946bd6f8d29abdb8e526a13efd3b492d7575a17483e328395e92ec66f5

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

module Unidom::Authorization::Concerns::AsAuthorized

  extend ActiveSupport::Concern

  self.included do |includer|

    has_many :authorizings, class_name: 'Unidom::Authorization::Authorizing', as: :authorized

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unidom-authorization-1.0 app/models/unidom/authorization/concerns/as_authorized.rb
unidom-authorization-0.2 app/models/unidom/authorization/concerns/as_authorized.rb