Sha256: 20821673f46624f7ec82ccdfa76f2675b236c08ccaa5e3d2a038877e9f628abb
Contents?: true
Size: 333 Bytes
Versions: 10
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true module FitbitAPI class Client # Retrieves a list of the Fitbit user's friends. def friends get("user/#{user_id}/friends.json") end # Retrieves the user's friends leaderboard. def friends_leaderboard get("user/#{user_id}/friends/leaderboard.json") end end end
Version data entries
10 entries across 10 versions & 1 rubygems