Sha256: f16bb97d6827ad46c24587fa4349a7e624584e53b86ed7edab036583a7c64b94

Contents?: true

Size: 220 Bytes

Versions: 11

Compression:

Stored size: 220 Bytes

Contents

module Merit
  module Base
    module BadgesSash
      extend ActiveSupport::Concern

      included do
        belongs_to :sash
      end

      def badge
        Merit::Badge.find(badge_id)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
merit-3.0.3 lib/merit/models/base/badges_sash.rb
merit-3.0.2 lib/merit/models/base/badges_sash.rb
merit-3.0.1 lib/merit/models/base/badges_sash.rb
merit-3.0.0 lib/merit/models/base/badges_sash.rb
merit-2.4.0 lib/merit/models/base/badges_sash.rb
merit-2.3.4 lib/merit/models/base/badges_sash.rb
merit-2.3.3 lib/merit/models/base/badges_sash.rb
merit-2.3.2 lib/merit/models/base/badges_sash.rb
merit-2.3.1 lib/merit/models/base/badges_sash.rb
merit-2.3.0 lib/merit/models/base/badges_sash.rb
merit-2.2.0 lib/merit/models/base/badges_sash.rb