brightpearl_api 1.2.0 → 1.2.1
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/README.md +6 -2
- data/lib/brightpearl_api/client.rb +1 -1
- 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: e865ee8343098e3e1dd389a2b1d92db4ae84d9a4
|
|
4
|
+
data.tar.gz: 0fc298ff55ed20253f4aec2696aeb1663271cde8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68ce2bf16a60437e04eb8c7ba9bc16620585a160f5cdb1278b0741f5f8a2c7dfc6a33fc3ff2584ab00bdf7e9f37e1304118f292d7cf24a05bbcf2c858e041f1d
|
|
7
|
+
data.tar.gz: 7cc8ecf748017680f779a5e4d006c85c38093da930fb869d0329b4731709df8c22c3f558748713a3e3d8ea4d275af195126b94a26c2bb38cbfdcecdebcd14e28
|
data/README.md
CHANGED
|
@@ -384,9 +384,13 @@ s.quarantine_release(warehouse_id) do |body|
|
|
|
384
384
|
end
|
|
385
385
|
```
|
|
386
386
|
|
|
387
|
-
##
|
|
387
|
+
## Updates (Features Added)
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
* Stock Correction
|
|
390
|
+
* Goods Out Note Search
|
|
391
|
+
* External Transfer Request
|
|
392
|
+
* Resource Search
|
|
393
|
+
* Handle Throttle response
|
|
390
394
|
|
|
391
395
|
## Contributing
|
|
392
396
|
|
|
@@ -112,6 +112,12 @@ module BrightpearlApi
|
|
|
112
112
|
call(:post, "/warehouse-service/warehouse/#{warehouse_id.to_i}/quarantine/release", body)
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
def stock_correction(warehouse_id)
|
|
116
|
+
body = {}
|
|
117
|
+
yield(body)
|
|
118
|
+
call(:post, "/warehouse-service/warehouse/#{warehouse_id.to_i}/stock-correction", body)
|
|
119
|
+
end
|
|
120
|
+
|
|
115
121
|
def search_goods_out_notes
|
|
116
122
|
body = {}
|
|
117
123
|
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.2.
|
|
4
|
+
version: 1.2.1
|
|
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: 2014-
|
|
11
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|