Sha256: ff9bc8971b6218a892b3268e93bac73f518f98036e7c1218ac4f0c4733be8528

Contents?: true

Size: 421 Bytes

Versions: 38

Compression:

Stored size: 421 Bytes

Contents

module MeducationSDK
  module Badges
    class CitizenBadge < Badge
      self.path = "/badges/citizen_badges"

      def name
        'Citizen'
      end

      def description
       'Unlocked by joining Meducation.'
      end

      def metal
        :bronze
      end
    end

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