Sha256: 1e51248e1270769e48c05d1d587b2e7c44fd94df8b97a91687853bcf2c23aaab

Contents?: true

Size: 476 Bytes

Versions: 38

Compression:

Stored size: 476 Bytes

Contents

module MeducationSDK
  module Badges
    class RespectedAuthorBadge < Badge
      self.path = "/badges/respected_author_badges"

      def name
        'Respected Author'
      end

      def description
       'Unlocked by having 3 resources rated at +25.'
      end

      def metal
        :silver
      end
    end

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