Sha256: 8abce8bb86defeed8f444048ee2af259b809cfb1358b765dcc5ed0518a472e04

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

module GoGamification::ActiveRecord
  module Extensions
    def rewarding
      include GoGamification::Concerns::Rewarding
    end

    def rewardable
      include GoGamification::Concerns::Rewardable
    end
  end
end

::ActiveRecord::Base.send :extend, GoGamification::ActiveRecord::Extensions if defined?(ActiveRecord)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
go_gamification-0.0.7 lib/go_gamification/activerecord.rb
go_gamification-0.0.6 lib/go_gamification/activerecord.rb
go_gamification-0.0.4 lib/go_gamification/activerecord.rb