Class: BambooId::Configuration
- Inherits:
-
Object
- Object
- BambooId::Configuration
- Defined in:
- lib/bamboo_id/configuration.rb
Constant Summary collapse
- @@redirect_url =
nil
Class Method Summary collapse
- .application_key ⇒ Object
- .client_id ⇒ Object
- .client_secret ⇒ Object
- .redirect_url ⇒ Object
- .redirect_url=(url) ⇒ Object
Class Method Details
.application_key ⇒ Object
13 14 15 |
# File 'lib/bamboo_id/configuration.rb', line 13 def self.application_key ENV['BAMBOO_APPLICATION_KEY'] end |
.client_id ⇒ Object
17 18 19 |
# File 'lib/bamboo_id/configuration.rb', line 17 def self.client_id ENV['BAMBOO_CLIENT_ID'] end |
.client_secret ⇒ Object
21 22 23 |
# File 'lib/bamboo_id/configuration.rb', line 21 def self.client_secret ENV['BAMBOO_CLIENT_SECRET'] end |
.redirect_url ⇒ Object
5 6 7 |
# File 'lib/bamboo_id/configuration.rb', line 5 def self.redirect_url @@redirect_url || raise('No redirect_url set') end |
.redirect_url=(url) ⇒ Object
9 10 11 |
# File 'lib/bamboo_id/configuration.rb', line 9 def self.redirect_url=(url) @@redirect_url = url end |