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
- 'nucleo_api'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nucleo_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: