Class: AwardedBadge

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/generators/templates/app/models/awarded_badge.rb

Instance Method Summary collapse

Instance Method Details

#badgeObject



4
5
6
# File 'lib/generators/templates/app/models/awarded_badge.rb', line 4

def badge
  Badginator.get_badge(badge_code.to_sym)
end