Module: BoaVista::Request::Layout

Defined in:
lib/boa_vista/request/layout.rb

Defined Under Namespace

Modules: Cnpj, Cpf

Class Method Summary collapse

Class Method Details

.attributesObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/boa_vista/request/layout.rb', line 6

def attributes
  {
    transaction:               { range:  0..7 },
    version:                   { range:  8..9 },
    reserved_requester:        { range:  10..19 },
    reserved_boa_vista:        { range:  20..39 },
    code:                      { range:  40..47 },
    password:                  { range:  48..55 },
    query:                     { range:  56..63 },
    query_version:             { range:  64..65 },
    response_type:             { range:  66..66 },
    response_transmission_type: { range: 67..67 },
    document_type:             { range:  68..68 },
    document_number:           { range:  69..82 }
  }

end