Sha256: a282d9aeec0ab71c295a085b3466d94fe9b26fca93e21c82abda799fa0bb4554

Contents?: true

Size: 924 Bytes

Versions: 6

Compression:

Stored size: 924 Bytes

Contents

module Cieloz
  module Builder
    def portador source, opts={}
      RequisicaoTransacao::DadosPortador.map source, opts
    end

    def pedido source, opts={}
      RequisicaoTransacao::DadosPedido.map source, opts
    end

    def debito source, opts={}
      RequisicaoTransacao::FormaPagamento.map_debito source, opts
    end

    def credito source, opts={}
      RequisicaoTransacao::FormaPagamento.map_credito source, opts
    end

    def parcelado source, opts={}
      RequisicaoTransacao::FormaPagamento.map_parcelado source, opts
    end

    def transacao source, opts={}
      RequisicaoTransacao.map source, opts
    end

    def consulta source, opts={}
      RequisicaoConsulta.map source, opts
    end

    def captura source, opts={}
      RequisicaoCaptura.map source, opts
    end

    def cancelamento source, opts={}
      RequisicaoCancelamento.map source, opts
    end
  end

  extend Builder
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cieloz-0.0.19 lib/cieloz/builder.rb
cieloz-0.0.18 lib/cieloz/builder.rb
cieloz-0.0.17 lib/cieloz/builder.rb
cieloz-0.0.16 lib/cieloz/builder.rb
cieloz-0.0.15 lib/cieloz/builder.rb
cieloz-0.0.14 lib/cieloz/builder.rb