Sha256: d05689fd1ee1c9df70934cbf69ddb1837386ddf617b4f8a3b0566db691440408

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fitbit_api-0.10.2 lib/fitbit_api/friends.rb
fitbit_api-0.10.1 lib/fitbit_api/friends.rb
fitbit_api-0.10.0 lib/fitbit_api/friends.rb
fitbit_api-0.9.1 lib/fitbit_api/friends.rb
fitbit_api-0.9.0 lib/fitbit_api/friends.rb
fitbit_api-0.8.3 lib/fitbit_api/friends.rb
fitbit_api-0.8.2 lib/fitbit_api/friends.rb
fitbit_api-0.8.1 lib/fitbit_api/friends.rb
fitbit_api-0.8.0 lib/fitbit_api/friends.rb