Sha256: d3fc04fcc763b70e218de6da904ff8dcaa0270570f548a9a6ed7f8b75f703039

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

module FitbitAPI
  class Client
    def friends
      get("user/#{user_id}/friends.json")
    end

    def friends_leaderboard
      get("user/#{user_id}/friends/leaderboard.json")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fitbit_api-0.12.0 lib/fitbit_api/friends.rb
fitbit_api-0.11.0 lib/fitbit_api/friends.rb