vncpost_api 0.3.1 → 0.4.0
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/Gemfile.lock +1 -1
- data/lib/vncpost_api/configuration.rb +6 -4
- data/lib/vncpost_api/resources/order.rb +1 -1
- data/lib/vncpost_api/resources/user_login.rb +1 -1
- data/lib/vncpost_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bbe9fcf75e261d11678cbdc15b9b81437585aa9523759e81619b71f2df3c22a
|
|
4
|
+
data.tar.gz: 28589dfa40030fe7c0b2e66d1d207c1547636dfae57f0592dc451088c12a7ab3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5760460c1448296ffd68417b87d8d2bd451654f0c54597ef4d98cb73f7c68a78ef7cea5c967be3419e4fb86ea024a044a46ced38f8f792d2286e8685c7285423
|
|
7
|
+
data.tar.gz: 5badd01e5a8dfff3a6b6fef626cbff5f15a4485076e2fac8455b2f5d16ec3687d8b4e2b763cbb969063cf462abc10a2c7dd34f1090a97eb1406dd67a7a15f6d7
|
data/Gemfile.lock
CHANGED
|
@@ -19,11 +19,13 @@ module VNCPostAPI
|
|
|
19
19
|
|
|
20
20
|
def after_configure
|
|
21
21
|
if config.testing?
|
|
22
|
-
|
|
23
|
-
VNCPostAPI::
|
|
22
|
+
test_site = "http://sgp-seaedi-test.800best.com"
|
|
23
|
+
VNCPostAPI::Base.site = test_site
|
|
24
|
+
VNCPostAPI::UserLogin.site = test_site
|
|
24
25
|
else
|
|
25
|
-
|
|
26
|
-
VNCPostAPI::
|
|
26
|
+
production_site = "http://sgp-seaedi.800best.com"
|
|
27
|
+
VNCPostAPI::Base.site = production_site
|
|
28
|
+
VNCPostAPI::UserLogin.site = production_site
|
|
27
29
|
end
|
|
28
30
|
# Tracking is only available on production
|
|
29
31
|
VNCPostAPI::Tracking.site = "http://pt.vncpost.com"
|
|
@@ -4,7 +4,7 @@ module VNCPostAPI
|
|
|
4
4
|
class UserLogin < ::ActiveResource::Base
|
|
5
5
|
self.include_root_in_json = false
|
|
6
6
|
self.include_format_in_path = false
|
|
7
|
-
self.prefix = "/User/Login"
|
|
7
|
+
self.prefix = "/VietNamV3/v3/api/process/sears/User/Login"
|
|
8
8
|
self.element_name = ""
|
|
9
9
|
|
|
10
10
|
class << self
|
data/lib/vncpost_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vncpost_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Chong
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activeresource
|