Sha256: 907ce477664e474893e5470b17ed084cecd9679cc5a5c37d6aee0786ba5ad4c2
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.5' end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
kivanio-brcobranca-2.0.5 | lib/brcobranca.rb |
brcobranca-2.0.5 | lib/brcobranca.rb |