formatos-febraban 0.3.47 → 0.3.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/formatos/cielo/cielo.rb +1 -1
- data/lib/formatos/cielo/cielo_detalhe.rb +21 -8
- data/lib/formatos/febraban/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: 85d094dad8a67461bedee2b802f20fad26926f6c
|
4
|
+
data.tar.gz: 580aadc36eb900809ed0429c735fa54f1ed1039a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b2d8343477b03b1009b47cf37b729c3170d9dbaf27cdc55979da6f96195f5b559f343ec46c905fb803bc43e40c3960bbb243ad05973b25fffcc0ed0841ec74f
|
7
|
+
data.tar.gz: 4443ac5b52f55734396b603987fbe7753d705b4eb03637c31a97990f393c098b692e35aae2817dc5613ad02f00182d5762ff4c070be53d1776ff3a4886be96a2
|
data/lib/formatos/cielo/cielo.rb
CHANGED
@@ -76,34 +76,47 @@ class CieloDetalhe < FormatSection
|
|
76
76
|
self.get_section_value(2)
|
77
77
|
end
|
78
78
|
|
79
|
-
def
|
80
|
-
self.get_section_value(
|
79
|
+
def get_codigo_autorizacao
|
80
|
+
self.get_section_value(3)
|
81
81
|
end
|
82
82
|
|
83
|
-
def
|
84
|
-
self.get_section_value(
|
83
|
+
def get_data_venda
|
84
|
+
self.get_section_value(4)
|
85
85
|
end
|
86
86
|
|
87
87
|
def get_valor
|
88
88
|
self.get_section_value(6).to_i
|
89
89
|
end
|
90
90
|
|
91
|
+
def get_numero_lote
|
92
|
+
self.get_section_value(12)
|
93
|
+
end
|
94
|
+
|
91
95
|
def get_numero_cielo
|
92
96
|
self.get_section_value(14)
|
93
97
|
end
|
94
98
|
|
95
|
-
def
|
96
|
-
self.get_section_value(
|
99
|
+
def get_reservado
|
100
|
+
self.get_section_value(15)
|
97
101
|
end
|
98
102
|
|
99
103
|
def get_status_venda
|
100
104
|
self.get_section_value(16)
|
101
105
|
end
|
102
106
|
|
103
|
-
def
|
104
|
-
self.get_section_value(
|
107
|
+
def get_data_liquidacao
|
108
|
+
self.get_section_value(17)
|
105
109
|
end
|
106
110
|
|
111
|
+
def get_validade_cartao
|
112
|
+
self.get_section_value(18)
|
113
|
+
end
|
114
|
+
|
115
|
+
def get_codigo_erro
|
116
|
+
self.get_section_value(22)
|
117
|
+
end
|
118
|
+
|
119
|
+
|
107
120
|
def set_sequencial valor
|
108
121
|
self.set_section_value(1, valor)
|
109
122
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formatos-febraban
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Ricardo Almeida
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|