Class: Nfse::Envio::Prestador

Inherits:
Mustache
  • Object
show all
Defined in:
lib/nfse/prestador.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Prestador

Returns a new instance of Prestador.



9
10
11
12
13
14
15
# File 'lib/nfse/prestador.rb', line 9

def initialize(args)
    self.template_path = File.expand_path("../../templates/", __FILE__)

    @cnpj = args[:cnpj]
    @inscricao_municipal = args[:inscricao_municipal]
    @razao_social = args[:razao_social]
end

Instance Attribute Details

#cnpjObject

Returns the value of attribute cnpj.



7
8
9
# File 'lib/nfse/prestador.rb', line 7

def cnpj
  @cnpj
end

#inscricao_municipalObject

Returns the value of attribute inscricao_municipal.



7
8
9
# File 'lib/nfse/prestador.rb', line 7

def inscricao_municipal
  @inscricao_municipal
end

#razao_socialObject

Returns the value of attribute razao_social.



7
8
9
# File 'lib/nfse/prestador.rb', line 7

def razao_social
  @razao_social
end