tiny_erp_api 0.1.1 → 0.1.2

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: 036dc278997d9041f6332ef2fff1f1dcda578501d4b46bed68ddd6dc936c8f29
4
- data.tar.gz: 178acd66401dbb4bdae190746b4b03bdde7069f19d38bc26a3ff285e35c5e8e7
3
+ metadata.gz: 27c613bb32418309d7b0bfb195cf68786dac372d95b75e91fe90f659764cb6bb
4
+ data.tar.gz: 4d5a077f5c5c852a4deef29442b2034bf89b1ab99928b0475e687bc34e0f79ca
5
5
  SHA512:
6
- metadata.gz: 573071d82f7e9698f5886973aab1649ce05309bdd109187137b301ad9c8da98bafcced94e7e77d4a32301de3b4af53f9e4ee1be26b08985606e3f7cd8af1b50e
7
- data.tar.gz: d95770a1b6476c383a9537b8fd29ff89ba8f06473a56411f786db609b349b7a307ff18510d5af11d7261afb4891a17e7474d9a01e6665399ca370116a4c869c6
6
+ metadata.gz: b6105ac206247ae1f6ff00bd71988a4aa15ee7e8f94d374280527c07f713e057243cdc4544ce8c008765a47e3e6b377c7483d7afaf1ff63a39ea7295b6627004
7
+ data.tar.gz: 45390e0c8088d7728d6e6d058fbdc8f60b4e42f702092663228600e8db6605534a82d809a92d60742f8a822760821f59eb9a7825d778e838cd9f67a8e9b3b748
@@ -14,7 +14,7 @@ module TinyErpApi
14
14
  @observacoes = observacoes
15
15
  @observacoes_internas = observacoes_internas
16
16
  @forma_envio = forma_envio
17
- @form_frete = form_frete
17
+ @forma_frete = form_frete
18
18
  @parcelas = parcelas
19
19
  @cliente = cliente
20
20
  @itens = itens
@@ -30,7 +30,7 @@ module TinyErpApi
30
30
  new(**build_hash(response_json))
31
31
  end
32
32
 
33
- def create(params)
33
+ def create
34
34
  response = Client.new(TinyErpApi.configuration.access_token).create_order(build_json)
35
35
  self.class.find_by_id(response["retorno"]["registros"]["registro"]["id"])
36
36
  end
@@ -84,4 +84,4 @@ module TinyErpApi
84
84
  end
85
85
 
86
86
  end
87
- end
87
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TinyErpApi
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_erp_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamilton Tumenas Borges