Sha256: 37e2cda95cbfea9292b4fae1a22279fb8ad38b584930cabb29f2b32d51a80214
Contents?: true
Size: 436 Bytes
Versions: 23
Compression:
Stored size: 436 Bytes
Contents
module Badger class Bonus def self.badge badger badge_url = 'http://%s/:badges-%d/%d-%s' % [ Config.instance.config['badge_service'], badger.length + 1, badger.length + 1, Config.instance.config['bonus_badge_colour'] ] target_url = '%s' % [ Config.instance.config['bonus_badge_link'] ] Badger.badge 'Badges', badge_url, target_url end end end
Version data entries
23 entries across 23 versions & 2 rubygems