yol_erp_lite 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yol_erp_lite/client.rb +1 -0
- data/lib/yol_erp_lite/connections/bom.rb +23 -0
- data/lib/yol_erp_lite/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: affbd0409a2c6cda099c489828f4a39c332385809a64a2382d43645b8d87884c
|
4
|
+
data.tar.gz: 70fa0bf47b48adba5ee96e2574f9259ca8d588615f420ac9492a4ac0673d8805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c18ea0ec1be7244c4d8cf7af135a736fd4ec1864b4b095ceaad55c2d680f7f3f7af0435a3e0e88be2f2e8d7d47e4412ed70526f4087a4420140dacb18205f98
|
7
|
+
data.tar.gz: 2625a099cb6354892de4ae4eec675b644c6b23f3f964b90c461713ccf1d13334a4a60c4693c604c006a9fed054c016014002f0ee7736d342b736e6fd6053b131
|
data/lib/yol_erp_lite/client.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
module YolErpLite
|
2
|
+
module Connection
|
3
|
+
module Bom
|
4
|
+
def get_boms(params)
|
5
|
+
http_get(boms_path, params)
|
6
|
+
end
|
7
|
+
|
8
|
+
def get_bom_children(params)
|
9
|
+
http_get(bom_children_path, params)
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
def boms_path
|
15
|
+
"open_api/boms"
|
16
|
+
end
|
17
|
+
|
18
|
+
def bom_children_path
|
19
|
+
"open_api/boms/children"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/yol_erp_lite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yol_erp_lite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- luojie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- lib/yol_erp_lite/client.rb
|
97
97
|
- lib/yol_erp_lite/connection.rb
|
98
98
|
- lib/yol_erp_lite/connections/base.rb
|
99
|
+
- lib/yol_erp_lite/connections/bom.rb
|
99
100
|
- lib/yol_erp_lite/connections/customer.rb
|
100
101
|
- lib/yol_erp_lite/connections/material.rb
|
101
102
|
- lib/yol_erp_lite/helpers/pkcs7_encoder.rb
|