Module: Cieloz::RequisicaoTidValor::ClassMethods

Defined in:
lib/cieloz/requisicao_tid.rb

Instance Method Summary collapse

Instance Method Details

#map(source, opts = {}) ⇒ Object



23
24
25
26
# File 'lib/cieloz/requisicao_tid.rb', line 23

def map source, opts={}
  tid, valor = attrs_from source, opts, :tid, :valor
  new source: source, opts: opts, tid: tid, valor: valor
end