Module: ExvoAuth::Config
- Defined in:
- lib/exvo_auth/config.rb
Class Method Summary collapse
- .callback_key ⇒ Object
- .callback_key=(callback_key) ⇒ Object
- .client_id ⇒ Object
- .client_id=(client_id) ⇒ Object
- .client_secret ⇒ Object
- .client_secret=(client_secret) ⇒ Object
- .host ⇒ Object
- .host=(host) ⇒ Object
Class Method Details
.callback_key ⇒ Object
10 11 12 |
# File 'lib/exvo_auth/config.rb', line 10 def self.callback_key @@callback_key ||= '_callback' end |
.callback_key=(callback_key) ⇒ Object
14 15 16 |
# File 'lib/exvo_auth/config.rb', line 14 def self.callback_key=(callback_key) @@callback_key = callback_key end |
.client_id ⇒ Object
22 23 24 |
# File 'lib/exvo_auth/config.rb', line 22 def self.client_id @@client_id end |
.client_id=(client_id) ⇒ Object
18 19 20 |
# File 'lib/exvo_auth/config.rb', line 18 def self.client_id=(client_id) @@client_id = client_id end |
.client_secret ⇒ Object
30 31 32 |
# File 'lib/exvo_auth/config.rb', line 30 def self.client_secret @@client_secret end |
.client_secret=(client_secret) ⇒ Object
26 27 28 |
# File 'lib/exvo_auth/config.rb', line 26 def self.client_secret=(client_secret) @@client_secret = client_secret end |
.host ⇒ Object
2 3 4 |
# File 'lib/exvo_auth/config.rb', line 2 def self.host @@host ||= 'https://auth.exvo.com' end |
.host=(host) ⇒ Object
6 7 8 |
# File 'lib/exvo_auth/config.rb', line 6 def self.host=(host) @@host = host end |