Module: Dexcom

Defined in:
lib/dexcom/blood_glucose/class_methods.rb,
lib/dexcom.rb,
lib/dexcom/version.rb,
lib/dexcom/constants.rb,
lib/dexcom/blood_glucose.rb,
lib/dexcom/configuration.rb,
lib/dexcom/authentication.rb,
lib/dexcom/blood_glucose/api_handler.rb

Overview

frozen_string_literal

Defined Under Namespace

Modules: BloodGlucoseUtils Classes: Authentication, BloodGlucose, Configuration

Constant Summary collapse

VERSION =
'0.2.2'
APPLICATION_ID =
'd89443d2-327c-4a6f-89e5-496bbb0317db'
USER_AGENT =
'Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0'
URL_BASE =
'https://share2.dexcom.com/ShareWebServices/Services'
URL_BASE_OUTSIDE_USA =
'https://shareous1.dexcom.com/ShareWebServices/Services'

Class Method Summary collapse

Class Method Details

.configurationObject



11
12
13
# File 'lib/dexcom.rb', line 11

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/dexcom.rb', line 15

def configure
  yield configuration
end