Sha256: e188f7c1ca297409bf1024f2c7b627e38df172dda5f36b32db0e48b36031f410
Contents?: true
Size: 401 Bytes
Versions: 8
Compression:
Stored size: 401 Bytes
Contents
# Points are a simple integer value which are given to "meritable" resources # according to rules in +app/models/merit_point_rules.rb+. They are given on # actions-triggered. class MeritPointRules include Merit::PointRules def initialize score 5, :to => :user, :on => [ 'comments#vote' ] score 20, :on => [ 'comments#create', 'registrations#update' ] end end
Version data entries
8 entries across 8 versions & 1 rubygems