Sha256: 1380a374bebda25868819d5a8f6a883d40aec4e870e79bb81b52acf1d90867ed

Contents?: true

Size: 427 Bytes

Versions: 14

Compression:

Stored size: 427 Bytes

Contents

module MeducationSDK
  module Badges
    class FollowerBadge < Badge
      self.path = "/badges/follower_badges"

      def name
        'Follower'
      end

      def description
       'Unlocked by following 10 people'
      end

      def metal
        :bronze
      end
    end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
meducation_sdk-2.2.2 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.2.1 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.2.0 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.1.4 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.1.3 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.1.2 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.1.1 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.1.0 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.0.5 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.0.4 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.0.3 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.0.2 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.0.1 lib/meducation_sdk/resources/badges/follower_badge.rb
meducation_sdk-2.0.0 lib/meducation_sdk/resources/badges/follower_badge.rb