vncpost_api 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 650cf96fee5d0224ceaf1641113b0aab2c2fd235d2bc29aad7ee2519332b43e4
4
- data.tar.gz: f8148600472f359fadc878fcb2a1105692aab1294c37e90d5a1bc8a470cf3c00
3
+ metadata.gz: 9bbe9fcf75e261d11678cbdc15b9b81437585aa9523759e81619b71f2df3c22a
4
+ data.tar.gz: 28589dfa40030fe7c0b2e66d1d207c1547636dfae57f0592dc451088c12a7ab3
5
5
  SHA512:
6
- metadata.gz: b6a1caecf2665012c91742cd599677ee79f63815b465bc0fe20c5100adc3eada33542fa2a33c7138219584685e7f1f018e3f209401f13766bfe014315c8008f7
7
- data.tar.gz: ba332c32e2769fb1c1d79b9aee2bcd080d12e56de4eb0e227a15b4f071eed7cff67e4569a2616b0ace3979df434f0ce96c51d01a372d9031c5e6b261abf95251
6
+ metadata.gz: 5760460c1448296ffd68417b87d8d2bd451654f0c54597ef4d98cb73f7c68a78ef7cea5c967be3419e4fb86ea024a044a46ced38f8f792d2286e8685c7285423
7
+ data.tar.gz: 5badd01e5a8dfff3a6b6fef626cbff5f15a4485076e2fac8455b2f5d16ec3687d8b4e2b763cbb969063cf462abc10a2c7dd34f1090a97eb1406dd67a7a15f6d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vncpost_api (0.3.0)
4
+ vncpost_api (0.3.1)
5
5
  activeresource (>= 4.1.0)
6
6
  jwt
7
7
 
@@ -19,11 +19,13 @@ module VNCPostAPI
19
19
 
20
20
  def after_configure
21
21
  if config.testing?
22
- VNCPostAPI::Base.site = "http://api.v3.vncpost.com"
23
- VNCPostAPI::UserLogin.site = "http://api.v3.vncpost.com"
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
- VNCPostAPI::Base.site = "https://u.api.vncpost.com"
26
- VNCPostAPI::UserLogin.site = "https://u.api.vncpost.com"
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"
@@ -44,7 +44,7 @@ module VNCPostAPI
44
44
  return_phone_number: nil
45
45
  }
46
46
 
47
- self.prefix = "/Order/Add"
47
+ self.prefix = "/VietNamV3/v3/api/process/sears/Order/Add"
48
48
  self.element_name = ""
49
49
 
50
50
  def initialize(attributes = {}, persisted = false)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module VNCPostAPI
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.1
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-04-29 00:00:00.000000000 Z
11
+ date: 2022-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource