restpack-web 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restpack-web/app.rb +2 -0
- data/lib/restpack-web/version.rb +1 -1
- metadata +1 -1
data/lib/restpack-web/app.rb
CHANGED
@@ -10,6 +10,8 @@ module RestPack
|
|
10
10
|
options[:core_domain] ||= ENV['RESTPACK_CORE_SERVICE']
|
11
11
|
options[:access_key] ||= ENV['RESTPACK_ACCESS_KEY']
|
12
12
|
|
13
|
+
raise "missing configuration" unless options[:core_domain] || options[:access_key]
|
14
|
+
|
13
15
|
p "RestPack options: #{options}"
|
14
16
|
|
15
17
|
@core_cache = RestPack::Core::Client::Cache.create(options[:core_domain], options[:access_key])
|
data/lib/restpack-web/version.rb
CHANGED