Class: Nfse::Base
- Inherits:
-
Mustache
- Object
- Mustache
- Nfse::Base
- Defined in:
- lib/nfse/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code_ibge ⇒ Object
Returns the value of attribute code_ibge.
Instance Method Summary collapse
Instance Attribute Details
#code_ibge ⇒ Object
Returns the value of attribute code_ibge.
5 6 7 |
# File 'lib/nfse/base.rb', line 5 def code_ibge @code_ibge end |
Instance Method Details
#get_wsdl ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/nfse/base.rb', line 7 def get_wsdl if Rails.env.production? { '3131703' => 'http://servicosweb.itabira.mg.gov.br:90/nfse.portal.integracao/services.svc?Wsdl', '3106200' => 'https://bhissdigitalws.pbh.gov.br/bhiss-ws/nfse?wsdl' } else { '3106200' => 'https://bhisshomologa.pbh.gov.br/bhiss-ws/nfse?wsdl' } end end |