Sha256: 0636d822533f964b10cdf8a88900aa5a4c734328607b36665f7c0d23caffb8f5

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

require 'i_am_i_can/subject/role_querying'
require 'i_am_i_can/subject/permission_querying'

module IAmICan
  module Subject
    extend ActiveSupport::Concern

    class_methods do
    end

    included do
      define_model_callbacks :role_assign, :cancel_role_assign, :role_update
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
i_am_i_can-4.2.0 lib/i_am_i_can/subject.rb
i_am_i_can-4.1.0 lib/i_am_i_can/subject.rb