Sha256: af24871b8b2dad96529919de871ff79d5c4ac83be396a4a5f25380594e21fcbc

Contents?: true

Size: 436 Bytes

Versions: 24

Compression:

Stored size: 436 Bytes

Contents

module MeducationSDK
  module Badges
    class BefrienderBadge < Badge
      self.path = "/badges/befriender_badges"

      def name
        'Befriender'
      end

      def description
       'Unlocked by making ten friends.'
      end

      def metal
        :bronze
      end
    end

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
meducation_sdk-1.5.1 lib/meducation_sdk/resources/badges/befriender_badge.rb
meducation_sdk-1.5.0 lib/meducation_sdk/resources/badges/befriender_badge.rb
meducation_sdk-1.4.4 lib/meducation_sdk/resources/badges/befriender_badge.rb
meducation_sdk-1.4.3 lib/meducation_sdk/resources/badges/befriender_badge.rb