Class: ApplicationConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/domain/application_config.rb

Constant Summary collapse

@@client_id =
""
@@client_secret =
""

Class Method Summary collapse

Class Method Details

.get_client_idObject



10
11
12
# File 'lib/domain/application_config.rb', line 10

def self.get_client_id
    return @@client_id
end

.get_client_secretObject



14
15
16
# File 'lib/domain/application_config.rb', line 14

def self.get_client_secret
    return @@client_secret
end

.set_config(client_id, client_secret) ⇒ Object



5
6
7
8
# File 'lib/domain/application_config.rb', line 5

def self.set_config(client_id, client_secret)
    @@client_id = client_id
    @@client_secret = client_secret
end