lib/br_nfe/product/operation/base.rb
Class Base
has 26 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Base < BrNfe::Base
include NfXmlValue
# Versão da NF-e que irá pegar as configurações
attr_accessor :nfe_version
Method get_gateway_by_normal_operation
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def get_gateway_by_normal_operation
case "#{ibge_code_of_issuer_uf}"
when '13'
:am
when '29'