Module: Runkeeper::Configuration
Instance Attribute Summary collapse
Instance Attribute Details
#access_token_url ⇒ Object
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_url ⇒ Object
15 16 17 |
# File 'lib/runkeeper/configuration.rb', line 15 def @authorization_url || ENV['AUTHORIZATION_URL'] || "https://runkeeper.com/apps/authorize" end |
#client_id ⇒ Object
7 8 9 |
# File 'lib/runkeeper/configuration.rb', line 7 def client_id @client_id || ENV['CLIENT_ID'] end |
#client_secret ⇒ Object
11 12 13 |
# File 'lib/runkeeper/configuration.rb', line 11 def client_secret @client_secret || ENV['CLIENT_SECRET'] end |