Class: LeccaClient::Proposal::Job

Inherits:
Hashie::Dash
  • Object
show all
Includes:
Utils
Defined in:
lib/lecca_client/proposal/job.rb

Instance Method Summary collapse

Methods included from Utils

#justify_number, #justify_string, #justify_value

Instance Method Details

#buildObject



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/lecca_client/proposal/job.rb', line 19

def build
  parts = ''

  parts << justify_string(razao_social, 30)
  parts << justify_number(data_admissao, 8)
  parts << justify_number(cnpj, 14)
  parts << justify_string(endereco, 60)
  parts << justify_number(numero, 5)
  parts << justify_string(complemento, 30)
  parts << justify_string(bairro, 30)
  parts << justify_string(cidade, 40)
  parts << justify_string(uf, 2)
  parts << justify_value(renda, 12)
  parts << justify_string(cep, 8)
end