Sha256: 418e8106746ea99970af0452750cbd74a9f3c0703cf7422c78438771237b6dae
Contents?: true
Size: 989 Bytes
Versions: 2
Compression:
Stored size: 989 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) %w(core_ext currency config).each {|req| require File.join(File.dirname(__FILE__),"brcobranca",req) } %w(base banco_brasil banco_itau banco_hsbc banco_real banco_bradesco banco_unibanco).each {|req| require File.join(File.dirname(__FILE__),"brcobranca","boleto",req) } %w(util rghost).each {|req| require File.join(File.dirname(__FILE__),"brcobranca","boleto","template",req) } %w(base retorno_cbr643).each {|req| require File.join(File.dirname(__FILE__),"brcobranca","retorno",req) } case Brcobranca::Config::OPCOES[:gerador] when 'rghost' module Brcobranca::Boleto Base.class_eval do include Brcobranca::Boleto::Template::Rghost include Brcobranca::Boleto::Template::Util end end else "Configure o gerador na opção 'Brcobranca::Config::OPCOES[:gerador]' corretamente!!!" end module Brcobranca VERSION = '2.0.4' end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
kivanio-brcobranca-2.0.4 | lib/brcobranca.rb |
brcobranca-2.0.4 | lib/brcobranca.rb |