brightpearl_api 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/brightpearl_api/services/warehouse.rb +6 -0
- data/lib/brightpearl_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4c54d2c4462f74920a33f280da5a5c15e14198a
|
4
|
+
data.tar.gz: e5ed3c639d8bb7fab4879604f07b576bd3485542
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347079c3db72b014021a869a65aa1c11be179895d7d5bd038c701c3866e09fef9e3a0d2c8ffad336bb9379d3c5e2fc8534fbf747bde8ae4e543cce19e0d1c465
|
7
|
+
data.tar.gz: b9dfa12b18c59f8aab21cbabcb22ae8c5a54c17ede46e2ffef372cfc800472db06208fa2db7e0b4b482598ac568cc8ae1f51e75a4db4b3f2107477b65cf66587
|
data/README.md
CHANGED
@@ -359,6 +359,7 @@ end
|
|
359
359
|
s.delete_goods_in_note(goods_in_note_id)
|
360
360
|
s.delete_goods_out_note(order_id, goods_out_note_id)
|
361
361
|
s.get_goods_out_note(order_id_set, goods_out_note_id_set)
|
362
|
+
s.get_goods_in_note(order_id_set, goods_in_note_id_set)
|
362
363
|
|
363
364
|
s.create_goods_out_note(order_id) do |body|
|
364
365
|
hash = {
|
@@ -76,6 +76,12 @@ module BrightpearlApi
|
|
76
76
|
call(:get, "/warehouse-service/order/#{oid}/goods-note/goods-out/#{gid}")
|
77
77
|
end
|
78
78
|
|
79
|
+
def get_goods_in_note(order_id_set, goods_in_note_id_set = nil)
|
80
|
+
oid = parse_idset(order_id_set)
|
81
|
+
gid = goods_in_note_id_set.nil? ? "" : parse_idset(goods_in_note_id_set)
|
82
|
+
call(:get, "/warehouse-service/order/#{oid}/goods-note/goods-in/#{gid}")
|
83
|
+
end
|
84
|
+
|
79
85
|
def create_goods_out_note(order_id)
|
80
86
|
body = {}
|
81
87
|
yield(body)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightpearl_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kunwar Aditya Raghuwanshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|