Module: BoaVista::Response::Layout::Layout249
- Extended by:
- Default
- Defined in:
- lib/boa_vista/response/layout/layout_249.rb
Constant Summary
Constants included
from Default
Default::DEFAULT_ATTRIBUTES
Class Method Summary
collapse
Methods included from Default
default_attributes, has_conditions?, layout_with_conditions, range_of
Class Method Details
.attributes ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/boa_vista/response/layout/layout_249.rb', line 8
def attributes
default_attributes.merge(query_online: { range: 77..77 },
name: { range: 78..137 },
document: { range: 138..148 },
birthday_date: { range: 149..156 },
mothers_name: { range: 157..206 },
voter_registration: { range: 207..219 },
condition: { range: 220..220 },
query_date: { range: 221..228 },
query_time: { range: 229..234 },
protocol: { range: 235..254 })
end
|
.condition_options ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/boa_vista/response/layout/layout_249.rb', line 21
def condition_options
{
1 => 'Regular',
2 => 'Cancelado',
3 => 'Pendente',
4 => 'Suspenso',
5 => 'Inexistente',
6 => 'Dados incompletos',
7 => 'Nula',
8 => 'Não especificado'
}
end
|