solidus_bling 3.1.1 → 3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/solidus_bling/order.rb +5 -1
- data/bin/meu_sandbox +0 -0
- data/lib/solidus_bling/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35c7eb372c6064dce193bc26212d674fc52d640aa9a5b82e419df0c9687b5dff
|
4
|
+
data.tar.gz: 05d5eebd774563a202e33481f5dcf555db44c0af225aaab1a6657b46ddd35e82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 339dd623af0910e3ddda55891b1879daa3ae7e0a5cc76e7f570afe24e151f23a20a763ab5314bfaacaa22da34f55cddce0f9c9803734bb7e3688ee9047a13de9
|
7
|
+
data.tar.gz: 6d82708caccccd65b6cd622f9fe89fcce74828bf495040dad9326f81d19eff00d46c1585cd362315d6eba716dfb84be27e288eb61af7a70bf5f77e865b69f8bb
|
@@ -15,7 +15,7 @@ module SolidusBling
|
|
15
15
|
observacoes_internas = internal_observations
|
16
16
|
transporte = shipment
|
17
17
|
|
18
|
-
BlingApi::Order.new(
|
18
|
+
bling_order = BlingApi::Order.new(
|
19
19
|
id_contato: contato.id,
|
20
20
|
items: items,
|
21
21
|
parcelas: parcelas,
|
@@ -31,6 +31,10 @@ module SolidusBling
|
|
31
31
|
transporte: transporte,
|
32
32
|
id_vendedor: @account.sellers.first.external_id
|
33
33
|
).create
|
34
|
+
|
35
|
+
if bling_order
|
36
|
+
@order.update(bling_order_id: bling_order.id)
|
37
|
+
end
|
34
38
|
end
|
35
39
|
|
36
40
|
def costumer
|
data/bin/meu_sandbox
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_bling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: '3.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hamilton Tumenas Borges
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '2.7'
|
89
|
-
description:
|
89
|
+
description:
|
90
90
|
email: hamiltontubo@gmail.com
|
91
91
|
executables: []
|
92
92
|
extensions: []
|
@@ -154,7 +154,7 @@ metadata:
|
|
154
154
|
homepage_uri: https://github.com/hamiltontborges/solidus_bling#readme
|
155
155
|
source_code_uri: https://github.com/hamiltontborges/solidus_bling
|
156
156
|
changelog_uri: https://github.com/hamiltontborges/solidus_bling/blob/master/CHANGELOG.md
|
157
|
-
post_install_message:
|
157
|
+
post_install_message:
|
158
158
|
rdoc_options: []
|
159
159
|
require_paths:
|
160
160
|
- lib
|
@@ -172,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.4.
|
176
|
-
signing_key:
|
175
|
+
rubygems_version: 3.4.20
|
176
|
+
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Solidus extension to integrate with the Bling
|
179
179
|
test_files: []
|