module Gamification::Concerns::Rewardable

Public Instance Methods

medals() click to toggle source
# File lib/gamification/concerns/rewardable.rb, line 8
def medals
  rewards.includes(goal: :medal).collect(&:medal).compact || []
end