tnt_mercurio 0.1.2 → 0.1.3

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: 44066c5c6fb04b3b4acdd3f754237c45532babb0
4
- data.tar.gz: 09acabdd019b33d876ac14a6b86d20ae81742d78
3
+ metadata.gz: afefab9f65fe2308f4e01475d74a7c9b24dccef9
4
+ data.tar.gz: ea6f3d88aa0f0261cbc34941a7f30bc7eff754c2
5
5
  SHA512:
6
- metadata.gz: 18e0b25fc23059db0c7b073c6f1a282891079cb6d45ed08d713fb7da171d92b89aa9196f8a6cb347a90d8e2f23c9e646dec6592222da5f0273f0b5dd7ba65aaa
7
- data.tar.gz: a575654af3590dcabdcbe4b24ae2f15a7d53c1e23be66a8a524f4a317768b04139cae6bd410130e54393f43e7cf5c5a3cf92a96d80500380a5b80bdaa29653d4
6
+ metadata.gz: 40af3a7d7177dcdaa8a63e624097ca0ec3f030cc1ad84c7f5acfb003feb6c9e49db62ddd92289a8ca58f2b89b31c93d789e68f25e0180211f69a0818693bb503
7
+ data.tar.gz: 9e0413b0ef54dd7d7eec8dcfa5657ebe5c2205cde23b9375ec482e87c3991a4c6fabf0dd6fd45a5f40442c451c085ea33b01726de51679759f1f7225a6a1548b
@@ -12,8 +12,7 @@ module TntMercurio
12
12
  TIPO_PESSOA_DESTINATARIO = 'F' # Física
13
13
  TIPO_SERVICO = 'RNC' # RNC Rodoviário Nacional
14
14
  TIPO_FRETE = 'C' # C - CIF
15
- attr_reader :divisao_cliente
16
- attr_writer :situacao_tributaria_destinatario, :situacao_tributaria_remetente,
15
+ attr_writer :divisao_cliente, :situacao_tributaria_destinatario, :situacao_tributaria_remetente,
17
16
  :tipo_pessoa_remetente, :tipo_pessoa_destinatario, :tipo_servico, :tipo_frete
18
17
 
19
18
  #
@@ -22,8 +21,12 @@ module TntMercurio
22
21
  yield self if block_given?
23
22
  end
24
23
 
24
+ #
25
+ # Opções para Divisão cliente
26
+ # Long numérico com o código da divisão do cliente.
27
+ # Ligar para o Comercial para pedir esta informação.
25
28
  def divisao_cliente
26
- @divisao_cliente = DIVISAO_CLIENTE
29
+ @divisao_cliente ||= DIVISAO_CLIENTE
27
30
  end
28
31
 
29
32
  #
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module TntMercurio
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tnt_mercurio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - QW3 Software & Marketing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2016-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon