nucleo_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,11 +2,10 @@ module NucleoClient
|
|
2
2
|
module ServiceConfiguration
|
3
3
|
def self.included(base)
|
4
4
|
base.send('use_hydra', NucleoClient::HYDRA)
|
5
|
-
#base.send('force_ssl')
|
6
5
|
|
7
6
|
host = case ENV['RACK_ENV']
|
8
7
|
when 'development'
|
9
|
-
|
8
|
+
NucleoClient::HOST
|
10
9
|
when 'production'
|
11
10
|
'metododerose.org/nucleo_api'
|
12
11
|
end
|
@@ -17,4 +16,4 @@ module NucleoClient
|
|
17
16
|
base.send('set_api_key','api_key',ENV['nucleo_api_key'])
|
18
17
|
end
|
19
18
|
end
|
20
|
-
end
|
19
|
+
end
|