sagekit 0.1.2.1 → 0.1.2.2

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: 82d9521ce3abf96ca5d7436725107043af11e34ebd444920a57ab845537dba54
4
- data.tar.gz: 10c7b2923056f67b61a29335f637916c2947ca7496861c3641abd264e45663f5
3
+ metadata.gz: fda9e512edd1a664acd1a00b5b43e6c0948521aeff594789302bdb504071f78b
4
+ data.tar.gz: bb343128655e1da30c90a12d375255462028bb1da6201741af27f95aef12ca49
5
5
  SHA512:
6
- metadata.gz: facdf1f29ab98ce6335d36adef0fa530cc73132094c1c0256eaa6d39cb3952b084d2d04caaace7b40da217103c8370141a36e9832666e681bf7297053787ef4a
7
- data.tar.gz: 7bf160aab3ead4b62aa5a58e2f8bd80d4d629c557716f25f6ff8f2f49046f24a8540bdc82f94ae2f1b11b94919c70040356aac7f67e40cc5ef757725f373bbc5
6
+ metadata.gz: bc011fbb60922835e7f9a84625270ed04a08add389b57423f9a1bc7dfeb78321ec57e91d453147dfe4dc418c138076af294f453aa74de0b47663daeef1af9ab9
7
+ data.tar.gz: bb44641857ac43262528879c3bfb747c2cb6e695dc8d59cfdf3a451c27b793ce9835bc11cc269b61c76c8489179b3731d645501b2063172a96569f6f4bf243b0
data/CHANGELOG.md CHANGED
@@ -10,3 +10,13 @@
10
10
 
11
11
  - Add collection rerouces for pagination
12
12
  - Fixed IC Invoices endpoint
13
+
14
+ ## 0.1.2.1 (2021-12-22)
15
+
16
+ - Organize recources by Modules
17
+ - Add endpoint for AP Invoice Batches
18
+
19
+
20
+ ## 0.1.2.2 (2021-12-22)
21
+
22
+ - Fixed AP Invoice Batches URL typo
@@ -14,7 +14,12 @@ module Sagekit
14
14
  end
15
15
 
16
16
  def update(company, batch_number, **attributes)
17
- patch_request("#{company}/AR/ARTerms('#{batch_number}')", body: attributes)
17
+ patch_request("#{company}/AP/APInvoiceBatches(#{batch_number})", body: attributes)
18
+ true
19
+ end
20
+
21
+ def update_json(company, batch_number, options={})
22
+ patch_request("#{company}/AP/APInvoiceBatches(#{batch_number})", body: options)
18
23
  true
19
24
  end
20
25
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sagekit
4
- VERSION = "0.1.2.1"
4
+ VERSION = "0.1.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sagekit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.1
4
+ version: 0.1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Perez