tiny_erp_api 0.1.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tiny_erp_api/order.rb +1 -1
- data/lib/tiny_erp_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e30fb0ea25eb461c8f30fbcfadf024060ab30133c4e6ffcfcc5efe4f2ed4475
|
4
|
+
data.tar.gz: ea1fe6ea157cc34ef811ddd62f73b391e31fe9dc80d3cd98a6ee19a3e9a3052a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ef8b128ade2d05457ba54abbd8620be21476ecde589b55e4475763596f87c027bbd00f48e4000946c0c12d6ed34ef71bbe3ae673f6317a83db5b9711b676ed
|
7
|
+
data.tar.gz: 5441effde03400cbb2d2bd5382ba882b6f934afcaca333791006db4e384f37732c2eb5ac12df79376d2263707b0901ed2c513ed3a0f6732055c9f1da9c913533
|
data/lib/tiny_erp_api/order.rb
CHANGED
@@ -32,7 +32,7 @@ module TinyErpApi
|
|
32
32
|
|
33
33
|
def create
|
34
34
|
response = Client.new(TinyErpApi.configuration.access_token).create_order(build_json)
|
35
|
-
self.class.find_by_id(response
|
35
|
+
self.class.find_by_id(response.dig("id"))
|
36
36
|
end
|
37
37
|
|
38
38
|
def build_json
|
data/lib/tiny_erp_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_erp_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hamilton Tumenas Borges
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ac
|