Sha256: af66eda2c375f20771db58e48ebb758328fcfbe3d3c9fdb24a02e11f53d27dd1

Contents?: true

Size: 305 Bytes

Versions: 4

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module Dexcom
  class Configuration
    attr_accessor :username, :password, :outside_usa

    def initialize
      @username = nil
      @password = nil
      @outside_usa = nil
    end

    def base_url
      outside_usa ? URL_BASE_OUTSIDE_USA : URL_BASE
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dexcom-0.3.0 lib/dexcom/configuration.rb
dexcom-0.2.2 lib/dexcom/configuration.rb
dexcom-0.2.1 lib/dexcom/configuration.rb
dexcom-0.2.0 lib/dexcom/configuration.rb