Sha256: 84db8c4d2342d2caa57d8a5c4778990d319df9f0761af5780ae4bd56165e1ea4

Contents?: true

Size: 446 Bytes

Versions: 38

Compression:

Stored size: 446 Bytes

Contents

module MeducationSDK
  module Badges
    class PhotogenicBadge < Badge
      self.path = "/badges/photogenic_badges"

      def name
        'Photogenic'
      end

      def description
       'Unlocked by uploading a profile picture.'
      end

      def metal
        :bronze
      end
    end

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