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 +4 -4
- data/README.md +0 -9
- data/lib/enotas_nfe/model/empresa.rb +2 -3
- data/lib/enotas_nfe/model/nfe.rb +2 -0
- data/lib/enotas_nfe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abbd2d0b9c01998a82908db62efc8c9ed6cce997
|
4
|
+
data.tar.gz: a9bf57062305e1efd63ada46fc43b39019a1c385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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
|
data/lib/enotas_nfe/model/nfe.rb
CHANGED
data/lib/enotas_nfe/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|