Sha256: 2ea3393a99b66c7177fdc4cd9a619f3bef5c2801e3f59383a8463ce802138206

Contents?: true

Size: 453 Bytes

Versions: 38

Compression:

Stored size: 453 Bytes

Contents

module MeducationSDK
  module Badges
    class CommentatorBadge < Badge
      self.path = "/badges/commentator_badges"

      def name
        'Commentator'
      end

      def description
       'Unlocked by making 10 comments rated at +3.'
      end

      def metal
        :silver
      end
    end

    class CommentatorBadgeMock < CommentatorBadge
      extend Loquor::ResourceMock
      self.attributes = { id: 1, user_id: 1 }
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
meducation_sdk-2.2.2 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.2.1 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.2.0 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.1.4 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.1.3 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.1.2 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.1.1 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.1.0 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.0.5 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.0.4 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.0.3 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.0.2 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.0.1 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-2.0.0 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-1.6.16 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-1.6.15 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-1.6.14 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-1.6.13 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-1.6.12 lib/meducation_sdk/resources/badges/commentator_badge.rb
meducation_sdk-1.6.11 lib/meducation_sdk/resources/badges/commentator_badge.rb