lib/dexcom/blood_glucose/api_handler.rb in dexcom-0.3.0 vs lib/dexcom/blood_glucose/api_handler.rb in dexcom-0.3.1
- old
+ new
@@ -1,9 +1,13 @@
# frozen_string_literal: true
+require 'utils/httparty_configured'
+
module Dexcom
module BloodGlucoseUtils
module ApiHandler
+ include ::Utils::HTTPartyConfigured
+
MAX_MINUTES = 1440
def make_api_request(number_of_values)
HTTParty.post(
endpoint,