Sha256: d143f7214d2b9f3df469c4b0f555ef43064605c3d0ab84017e04c77ecc52e456

Contents?: true

Size: 454 Bytes

Versions: 5

Compression:

Stored size: 454 Bytes

Contents

module PrivatePerson
  require 'rails'
  require 'private_person/version'
  require 'private_person/models/permissor'
  require 'private_person/models/permission'
  require 'private_person/models/permissible'
  require 'private_person/models/permitted'
end

if defined?(ActiveRecord::Base)
  ActiveRecord::Base.extend PrivatePerson::Permitted
  ActiveRecord::Base.extend PrivatePerson::Permissor
  ActiveRecord::Base.extend PrivatePerson::Permissible
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
private_person-0.3.1 lib/private_person.rb
private_person-0.3.0 lib/private_person.rb
private_person-0.2.9 lib/private_person.rb
private_person-0.2.4 lib/private_person.rb
private_person-0.1.0 lib/private_person.rb