enotas_nfe 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: bc95dedf5bb004a8ab27625122492052359345c7
4
- data.tar.gz: e9b0fd7ca58aecafb2a33a91affc194f628978a5
3
+ metadata.gz: abbd2d0b9c01998a82908db62efc8c9ed6cce997
4
+ data.tar.gz: a9bf57062305e1efd63ada46fc43b39019a1c385
5
5
  SHA512:
6
- metadata.gz: 9c18d07b48cb06270ecb7df0a47746f398134c93e35cf906f3e66e70b53fcf901043e7531dba05017ac2b7fdc0b94db237998c52a22d33391facd552310b59bc
7
- data.tar.gz: 3449d18f01599a79c15a7ad2dbda587501afeb1d5e25014ef2f36e1c6ddd32e4195e7a9ec1dcb08929b7dd361c434eaa3c0b40a0c9228b404d01857d5b88ad48
6
+ metadata.gz: 2a2179c9499962ef5128afe517e7c71d1177cf48c37c8f7fb73939969da08a3d604780b42e2dec392fb8d15c998acc7034e2a96d67a5aff21526de406bc97cbd
7
+ data.tar.gz: 8bfe31800ba603ecd373f72b098bb6f7e8cb8359aa28f91c67fd93dc8458f4bf250e95f6835c340c415aaa8ae0b01a89d34f9bef8a954756c5321ea60cc29cb8
data/README.md CHANGED
@@ -44,15 +44,6 @@ client.create_update_empresa(empresa)
44
44
 
45
45
  ```
46
46
 
47
- ## Adicionando/trocando logotipo
48
-
49
- ```ruby
50
- client = Enotas::Client.new('sua-api-key-do-e-notas', 'nfse')
51
- empresa = EnotasNfe::Model::Empresa.new(client.get_empresa('id-da-empresa-no-enotas'))
52
- empresa.logotipo = open('http://www.example.com/foo.png')
53
- client.set_logo('id-da-empresa-no-enotas', empresa)
54
-
55
- ```
56
47
 
57
48
  ## Uso básico para NFSE
58
49
 
@@ -13,7 +13,7 @@ module EnotasNfe
13
13
 
14
14
  attribute :id #Em casos de atualização o identificador único da empresa deve ser informado, atributo "id".
15
15
  attribute :empresaId, String
16
- attribute :logotipo, StringIO.new
16
+ attribute :logotipo, String
17
17
  attribute :cnpj, String
18
18
  attribute :inscricaoMunicipal, String
19
19
  attribute :razaoSocial, String
@@ -24,10 +24,9 @@ module EnotasNfe
24
24
  attribute :endereco, Endereco
25
25
  attribute :enviarEmailCliente, Boolean
26
26
  attribute :emissaoNFeConsumidor, EmissaoNFeConsumidor
27
- attribute :ambienteProducao, AmbienteProducao
28
- attribute :ambienteHomologacao, AmbienteHomologacao
29
27
  attribute :configuracoesNFSeHomologacao, ConfiguracoesNFSeHomologacao
30
28
  attribute :configuracoesNFSeProducao, ConfiguracoesNFSeProducao
29
+ attribute :incentivadorCultural, Boolean
31
30
 
32
31
  end
33
32
  end
@@ -5,6 +5,8 @@ module EnotasNfe
5
5
  include Virtus.model
6
6
 
7
7
  attribute :id, String
8
+ attribute :numero, Integer
9
+ attribute :serie, Integer
8
10
  attribute :enviarPorEmail, Boolean
9
11
  attribute :ambienteEmissao, String
10
12
  attribute :naturezaOperacao, String
@@ -1,3 +1,3 @@
1
1
  module EnotasNfe
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enotas_nfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Fernando Pimenta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-01 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler