yol_erp_lite 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 879ddabb2ad266143d6e0dd12d34b625d12f2ced5986fe9bbb71034cfbd28bcb
4
- data.tar.gz: 639e16f2e58e8247b8466842f1fbef103e5eef4622b1f4827a765ea9064438a3
3
+ metadata.gz: affbd0409a2c6cda099c489828f4a39c332385809a64a2382d43645b8d87884c
4
+ data.tar.gz: 70fa0bf47b48adba5ee96e2574f9259ca8d588615f420ac9492a4ac0673d8805
5
5
  SHA512:
6
- metadata.gz: 83a410dc07c2aded7f950660797ccc04cff52411f6b4484c294f74cb17bb9435dd85cbc0e76ac60c6b13de2531a89d9a76da032db7d45ab6c21f125baf4987e4
7
- data.tar.gz: 2e634d9164733d9fbee28dae63fc6446a5d5b207394b299d271f74002de54996eeadfe22d9c216e7d0bf3381fc2f80b4a48e9f5907200a1fbcd5ea61f3c7d0ee
6
+ metadata.gz: 4c18ea0ec1be7244c4d8cf7af135a736fd4ec1864b4b095ceaad55c2d680f7f3f7af0435a3e0e88be2f2e8d7d47e4412ed70526f4087a4420140dacb18205f98
7
+ data.tar.gz: 2625a099cb6354892de4ae4eec675b644c6b23f3f964b90c461713ccf1d13334a4a60c4693c604c006a9fed054c016014002f0ee7736d342b736e6fd6053b131
@@ -7,6 +7,7 @@ module YolErpLite
7
7
  include Connection::Base
8
8
  include Connection::Customer
9
9
  include Connection::Material
10
+ include Connection::Bom
10
11
 
11
12
  attr_accessor :host, :corpsecret, :redis
12
13
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module YolErpLite
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
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.2
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-22 00:00:00.000000000 Z
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