yol_erp_lite 0.0.3 → 0.0.4

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: affbd0409a2c6cda099c489828f4a39c332385809a64a2382d43645b8d87884c
4
- data.tar.gz: 70fa0bf47b48adba5ee96e2574f9259ca8d588615f420ac9492a4ac0673d8805
3
+ metadata.gz: fe8b71d136c0db10a15538987eed75606680de85333f7358cd89ea51fc749833
4
+ data.tar.gz: ac067c388b880ecbc0bd688f6af942ebe9d4daad1677d0dd7c82459d163e45d3
5
5
  SHA512:
6
- metadata.gz: 4c18ea0ec1be7244c4d8cf7af135a736fd4ec1864b4b095ceaad55c2d680f7f3f7af0435a3e0e88be2f2e8d7d47e4412ed70526f4087a4420140dacb18205f98
7
- data.tar.gz: 2625a099cb6354892de4ae4eec675b644c6b23f3f964b90c461713ccf1d13334a4a60c4693c604c006a9fed054c016014002f0ee7736d342b736e6fd6053b131
6
+ metadata.gz: 780ea20f62079ee3d7d4b8ffcc3471742c945586e2bcfd5020e9575fee9a549bb3dce49bd5b039e4cd767157dee5362508c4788797cbbb273b22a9e725b3566d
7
+ data.tar.gz: d2abffc7809ccb84432142a7d921bfbd201d8e5938d37d9f2d23973a9a62e94259358d04215c29c092079b2b97bc90802d83c08b9ded972dd3d6e9262939c590
@@ -8,6 +8,7 @@ module YolErpLite
8
8
  include Connection::Customer
9
9
  include Connection::Material
10
10
  include Connection::Bom
11
+ include Connection::BomChild
11
12
 
12
13
  attr_accessor :host, :corpsecret, :redis
13
14
 
@@ -5,19 +5,11 @@ module YolErpLite
5
5
  http_get(boms_path, params)
6
6
  end
7
7
 
8
- def get_bom_children(params)
9
- http_get(bom_children_path, params)
10
- end
11
-
12
8
  private
13
9
 
14
10
  def boms_path
15
11
  "open_api/boms"
16
12
  end
17
-
18
- def bom_children_path
19
- "open_api/boms/children"
20
- end
21
13
  end
22
14
  end
23
15
  end
@@ -0,0 +1,15 @@
1
+ module YolErpLite
2
+ module Connection
3
+ module BomChild
4
+ def get_bom_children(params)
5
+ http_get(bom_children_path, params)
6
+ end
7
+
8
+ private
9
+
10
+ def bom_children_path
11
+ "open_api/bom_children"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module YolErpLite
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
4
+ version: 0.0.4
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-24 00:00:00.000000000 Z
11
+ date: 2021-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -97,6 +97,7 @@ files:
97
97
  - lib/yol_erp_lite/connection.rb
98
98
  - lib/yol_erp_lite/connections/base.rb
99
99
  - lib/yol_erp_lite/connections/bom.rb
100
+ - lib/yol_erp_lite/connections/bom_child.rb
100
101
  - lib/yol_erp_lite/connections/customer.rb
101
102
  - lib/yol_erp_lite/connections/material.rb
102
103
  - lib/yol_erp_lite/helpers/pkcs7_encoder.rb