enotas_nfe 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/enotas_nfe/endpoints.rb +5 -0
 - data/lib/enotas_nfe/model/carta_correcao.rb +15 -0
 - data/lib/enotas_nfe/version.rb +1 -1
 - data/lib/enotas_nfe.rb +1 -0
 - metadata +3 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: fe452e710bc522e27eed866129822b0cf982d47f
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c88ed2ac620bb569d7023ece3d7313287567f5a6
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: dc64717d7d91d4c2496564a177990b063deff9c04f5759515cef8c59ffce0ad0994979a6e7402e9327784b33bad09bdc24cb0edf928f604f1d77024f598b99c4
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3c49260874816ed2ab1c268b536b7befd070314e3c52c3a02a37b8d3e53c9dfd1d15c37f8f3bb3167b5429243620c7699d5434079121a4fd025a108783d7e81e
         
     | 
    
        data/lib/enotas_nfe/endpoints.rb
    CHANGED
    
    | 
         @@ -19,6 +19,11 @@ module EnotasNfe 
     | 
|
| 
       19 
19 
     | 
    
         
             
                  post("empresas/#{firm_id}/logo", body)
         
     | 
| 
       20 
20 
     | 
    
         
             
                end
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
      
 22 
     | 
    
         
            +
                ## rota para carta de correcao
         
     | 
| 
      
 23 
     | 
    
         
            +
                def cc_create(firm_id, body)
         
     | 
| 
      
 24 
     | 
    
         
            +
                  post("empresas/#{firm_id}/nf-e/cartaCorrecao", body)
         
     | 
| 
      
 25 
     | 
    
         
            +
                end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
       22 
27 
     | 
    
         
             
                ## rotas para nota fiscal eletronica
         
     | 
| 
       23 
28 
     | 
    
         
             
                def nfe_create(firm_id, body)
         
     | 
| 
       24 
29 
     | 
    
         
             
                  post("empresas/#{firm_id}/nf-e", body)
         
     | 
    
        data/lib/enotas_nfe/version.rb
    CHANGED
    
    
    
        data/lib/enotas_nfe.rb
    CHANGED
    
    | 
         @@ -31,6 +31,7 @@ require "enotas_nfe/model/transportadora" 
     | 
|
| 
       31 
31 
     | 
    
         
             
            require "enotas_nfe/model/frete"
         
     | 
| 
       32 
32 
     | 
    
         
             
            require "enotas_nfe/model/transporte"
         
     | 
| 
       33 
33 
     | 
    
         
             
            require "enotas_nfe/model/nfe"
         
     | 
| 
      
 34 
     | 
    
         
            +
            require "enotas_nfe/model/carta_correcao"
         
     | 
| 
       34 
35 
     | 
    
         
             
            require "enotas_nfe/model/cofins"
         
     | 
| 
       35 
36 
     | 
    
         
             
            require "enotas_nfe/model/icms"
         
     | 
| 
       36 
37 
     | 
    
         
             
            require "enotas_nfe/model/impostos"
         
     | 
    
        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.13
         
     | 
| 
       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-20 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     | 
| 
         @@ -132,6 +132,7 @@ files: 
     | 
|
| 
       132 
132 
     | 
    
         
             
            - lib/enotas_nfe/middleware.rb
         
     | 
| 
       133 
133 
     | 
    
         
             
            - lib/enotas_nfe/model/ambiente_homologacao.rb
         
     | 
| 
       134 
134 
     | 
    
         
             
            - lib/enotas_nfe/model/ambiente_producao.rb
         
     | 
| 
      
 135 
     | 
    
         
            +
            - lib/enotas_nfe/model/carta_correcao.rb
         
     | 
| 
       135 
136 
     | 
    
         
             
            - lib/enotas_nfe/model/cliente.rb
         
     | 
| 
       136 
137 
     | 
    
         
             
            - lib/enotas_nfe/model/cofins.rb
         
     | 
| 
       137 
138 
     | 
    
         
             
            - lib/enotas_nfe/model/configuracoes_nfse_homologacao.rb
         
     |