liverails_api 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/api/live_rail.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c13a1c24c990fd201ee0339229261a8e5d302e7f
|
|
4
|
+
data.tar.gz: c85d475459501f96f57c2de01683aa6fa9986251
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a7c453dec8cc34b80e53e45fde533edb21b25a10732d7d2f42f8513213041bc4203f59e33d0df6971efa5b1b2dc82ca91e4d251f4849eb073e79936fd3e1503
|
|
7
|
+
data.tar.gz: 0866c108832584f34d498a9b2d1d749b10b3d24e9a9aa6339a2858d87376a96431be01fae0fc9ff4ce3d7ca3c0b8df35dffc741fd49ad89cea10ee2c8c68182e
|
data/lib/api/live_rail.rb
CHANGED
|
@@ -10,10 +10,10 @@ class LiveRail
|
|
|
10
10
|
@env = args[:env] || 'development'
|
|
11
11
|
|
|
12
12
|
if @env == 'production'
|
|
13
|
-
@url = "
|
|
13
|
+
@url = "https://api4.liverail.com"
|
|
14
14
|
else
|
|
15
15
|
puts "YOU ARE USING LIVE RAIL TEST ENVIRONMENT: please consider to set the LIVE_RAIL_ENVIRONMENT parameter to 'production' before going to production to ommit this message."
|
|
16
|
-
@url = "
|
|
16
|
+
@url = "https://api4.int.liverail.com"
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
|