Sha256: b18ffd89f200f70b4593bf13bec8b8b8e72c1138908500ebd8c460a6e72cd515

Contents?: true

Size: 465 Bytes

Versions: 38

Compression:

Stored size: 465 Bytes

Contents

module MeducationSDK
  module Badges
    class EminentAuthorBadge < Badge
      self.path = "/badges/eminent_author_badges"

      def name
        'Eminent Author'
      end

      def description
       'Unlocked by having 10 resources rated at +40.'
      end

      def metal
        :gold
      end
    end

    class EminentAuthorBadgeMock < EminentAuthorBadge
      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/eminent_author_badge.rb
meducation_sdk-2.2.1 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.2.0 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.1.4 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.1.3 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.1.2 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.1.1 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.1.0 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.0.5 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.0.4 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.0.3 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.0.2 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.0.1 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-2.0.0 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-1.6.16 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-1.6.15 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-1.6.14 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-1.6.13 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-1.6.12 lib/meducation_sdk/resources/badges/eminent_author_badge.rb
meducation_sdk-1.6.11 lib/meducation_sdk/resources/badges/eminent_author_badge.rb