Sha256: 46787851178165c7ec882ecebd65d6124adf09721e173b7f321237dfce3cb248

Contents?: true

Size: 160 Bytes

Versions: 9

Compression:

Stored size: 160 Bytes

Contents

class Membership < ApplicationRecord
  include SimonSays::Roleable

  belongs_to :user
  belongs_to :document

  has_roles :download, :fork, :edit, :delete
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
simon_says-0.3.0.alpha.7 test/rails_app/app/models/membership.rb
simon_says-0.3.0.alpha.6 test/rails_app/app/models/membership.rb
simon_says-0.3.0.alpha.5 test/rails_app/app/models/membership.rb
simon_says-0.3.0.alpha.4 test/rails_app/app/models/membership.rb
simon_says-0.3.0.alpha.3 test/rails_app/app/models/membership.rb
simon_says-0.3.0.alpha.1 test/rails_app/app/models/membership.rb
simon_says-0.2.0 test/rails_app/app/models/membership.rb
simon_says-0.1.6 test/rails_app/app/models/membership.rb
simon_says-0.1.5 test/rails_app/app/models/membership.rb