zaui_zapi 0.2.7 → 0.2.8

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
  SHA1:
3
- metadata.gz: 95735370b818f991a4950f5d7c574f6629c564e7
4
- data.tar.gz: 3d5495fb38a2fe062d59c1b7983dd781ae072295
3
+ metadata.gz: 63e39dcd2c8dc9946d6a0a4dbb64b4ff63436ac2
4
+ data.tar.gz: 70df99b590f4008f3daf1ae4816c58b331bbdf77
5
5
  SHA512:
6
- metadata.gz: b08ec9cc60a73c4e702bebb5fa853465372525d7fed3176983bef4349f129e869a476a14ebc6e061e931c1133b25578e8185bc7bab8cc4a410866bac3200edc7
7
- data.tar.gz: a8dfa94f914d7b979a78bf271a19903bb3b1448fe1d44bb69b5a5bb763ecc94408bb4e1bf52e514ca01d24cf737efd5bc82a1f872fadb468494fc38bc07c8c3a
6
+ metadata.gz: 297b10692caa58b7374ae0948dfee95ad013ee0ecc3e3230a718bda921de1754b6efde1724d1fe97c23d2f4781b26ecc5c9510a780035261fe70d0448561fbb4
7
+ data.tar.gz: 16112b36409a04fa428b3bb4427b19d1f70e3553a4880802d4ab0d4e5013d7a2f0c567183f1ec5c9fb6f651f386cb6c827bc3e70df2c4ae3734e7798ae60d22d
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = '0.2.7'
1
+ VERSION = '0.2.8' #started at 0.2.7
data/lib/zapi.rb CHANGED
@@ -19,7 +19,7 @@ class Zapi
19
19
  req.body = xml
20
20
 
21
21
  @response = responder.new(raw_response: http.request(req))
22
-
22
+ #raise @response.raw_xml
23
23
  @response.data
24
24
  end
25
25
 
data/lib/zapi_xml.rb CHANGED
@@ -345,6 +345,13 @@ class ZapiXML
345
345
  })
346
346
  end
347
347
 
348
+ def get_manifest_entire_day_by_date date:
349
+ _wrap_xml_request({
350
+ "methodName" => 'zapiGetManifestEntireDayByDate',
351
+ "date" => date
352
+ })
353
+ end
354
+
348
355
  def _wrap_xml_request method, params = {}
349
356
  if session
350
357
  request = params.merge({
data/lib/zaui.rb CHANGED
@@ -154,6 +154,10 @@ class Zaui
154
154
  raw = _zapi(xml.check_activity_inventory_by_date(hash: inventory_data))
155
155
  end
156
156
 
157
+ def get_manifest_entire_day_by_date date
158
+ raw = _zapi(xml.get_manifest_entire_day_by_date(date: date))
159
+ end
160
+
157
161
  def clear_cart_session
158
162
  raw = _zapi(xml.clear_cart_session)
159
163
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaui_zapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Kretzmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-16 00:00:00.000000000 Z
11
+ date: 2018-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Provide ruby methods to interact with Zaui zAPI
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - LICENSE
64
64
  - README.md
65
65
  - lib/version.rb
@@ -84,17 +84,17 @@ require_paths:
84
84
  - lib
85
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - '>='
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.0.14.1
97
+ rubygems_version: 2.5.2.3
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Zaui.com zAPI interface gem