Sha256: 36c2ffc18ea499a54f3fac0663ca56e47b1e4644d81b3493d8555b1b3f35ab6a
Contents?: true
Size: 445 Bytes
Versions: 23
Compression:
Stored size: 445 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. module Merit class PointRules include Merit::PointRulesMethods def initialize score 5, :to => :user, :on => [ 'comments#vote' ] score 20, :on => [ 'comments#create', 'registrations#update' ] end end end
Version data entries
23 entries across 16 versions & 1 rubygems