Sha256: 698d78a5ee7ea6eaccc8f4bbd5cc74673a5d24ee080ec630f862e169acb3ea82

Contents?: true

Size: 209 Bytes

Versions: 10

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

module FitbitAPI
  class Client
    # Retrieves a list of Fitbit devices paired to a user's account.

    def devices
      get("user/#{user_id}/devices.json")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fitbit_api-1.1.0 lib/fitbit_api/devices.rb
fitbit_api-1.0.1 lib/fitbit_api/devices.rb
fitbit_api-1.0.0 lib/fitbit_api/devices.rb
fitbit_api-0.17.1 lib/fitbit_api/devices.rb
fitbit_api-0.17.0 lib/fitbit_api/devices.rb
fitbit_api-0.16.0 lib/fitbit_api/devices.rb
fitbit_api-0.15.3 lib/fitbit_api/devices.rb
fitbit_api-0.15.2 lib/fitbit_api/devices.rb
fitbit_api-0.15.1 lib/fitbit_api/devices.rb
fitbit_api-0.15.0 lib/fitbit_api/devices.rb