lib/withings-sdk/client.rb
def sleep_series(user_id, options = {})
      perform_request(:get, '/v2/sleep', WithingsSDK::SleepSeries, 'series', {
        action: 'get',
        userid: user_id
      }.merge(options))
    end
def sleep_series(user_id, options = {})
      perform_request(:get, '/v2/sleep', WithingsSDK::SleepSeries, 'series', {
        action: 'get',
        userid: user_id
      }.merge(options))
    end
Get details about a user's sleep

 @param user_id [Integer]
 @param options [Hash]

 @return [Array<WithingsSDK::Sleep>]