Module: Runkeeper::Configuration

Extended by:
Configuration
Included in:
Configuration
Defined in:
lib/runkeeper/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#access_token_urlObject



19
20
21
# File 'lib/runkeeper/configuration.rb', line 19

def access_token_url
  @access_token_url || ENV['ACCESS_TOKEN_URL'] || "https://runkeeper.com/apps/token"
end

#authorization_urlObject



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

def authorization_url
  @authorization_url || ENV['AUTHORIZATION_URL'] || "https://runkeeper.com/apps/authorize"
end

#client_idObject



7
8
9
# File 'lib/runkeeper/configuration.rb', line 7

def client_id
  @client_id || ENV['CLIENT_ID']
end

#client_secretObject



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

def client_secret
  @client_secret || ENV['CLIENT_SECRET']
end