Sha256: 0d88b47ca4612e699bc10b67c88a696e618d7b748cdc9a3ff31df0c9b9d1efcf

Contents?: true

Size: 483 Bytes

Versions: 38

Compression:

Stored size: 483 Bytes

Contents

module MeducationSDK
  module Badges
    class InquisitiveMindBadge < Badge
      self.path = "/badges/inquisitive_mind_badges"

      def name
        'Inquisitive Mind'
      end

      def description
       'Unlocked by asking 10 questions rated at least +10.'
      end

      def metal
        :silver
      end
    end

    class InquisitiveMindBadgeMock < InquisitiveMindBadge
      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-1.6.10 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.6 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.5 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.4 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.3 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.2 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.1 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.6.0 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.7 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.6 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.5 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.4 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.3 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.2 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.1 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.5.0 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.4.4 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb
meducation_sdk-1.4.3 lib/meducation_sdk/resources/badges/inquisitive_mind_badge.rb