lib/fitbit_api/electrocardiogram.rb in fitbit_api-1.0.0 vs lib/fitbit_api/electrocardiogram.rb in fitbit_api-1.0.1
- old
+ new
@@ -14,10 +14,10 @@
# @option params :sort [String] the Sort order of entries by date (asc or desc)
# @option params :offset [Integer] The offset number of entries. Must always be 0
# @option params :limit [Integer] The max of the number of entries returned (max: 10)
def ecg_logs_list(params = {})
- default_params = { before_date: Date.today, after_date: nil, sort: 'desc', limit: 10, offset: 0 }
+ default_params = { before_date: Date.today, sort: 'desc', limit: 10, offset: 0 }
get("user/#{user_id}/ecg/list.json", default_params.merge(params))
end
end
end