Class: LeccaClient::Proposal::Fund

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

Instance Method Summary collapse

Methods included from Utils

#justify_number, #justify_string, #justify_value

Instance Method Details

#buildObject



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/lecca_client/proposal/fund.rb', line 14

def build
  parts = ''

  parts << justify_string(rating, 2)
  parts << justify_number(cnpj_conveniada, 14)
  parts << justify_number(cnpj_fundo, 14)
  parts << justify_string(nome_fundo, 40)
  parts << justify_number(banco, 3)
  parts << justify_string(agencia, 4)
  parts << justify_string(conta_corrente, 8)
end