Class: BrNfe::Destinatario
- Inherits:
-
ActiveModelBase
- Object
- ActiveModelBase
- BrNfe::Destinatario
- Includes:
- Helper::HaveAddress
- Defined in:
- lib/br_nfe/destinatario.rb
Instance Attribute Summary collapse
-
#cpf_cnpj ⇒ Object
Returns the value of attribute cpf_cnpj.
-
#email ⇒ Object
Returns the value of attribute email.
-
#inscricao_estadual ⇒ Object
Returns the value of attribute inscricao_estadual.
-
#inscricao_municipal ⇒ Object
Returns the value of attribute inscricao_municipal.
-
#inscricao_suframa ⇒ Object
Returns the value of attribute inscricao_suframa.
-
#nome_fantasia ⇒ Object
Returns the value of attribute nome_fantasia.
-
#razao_social ⇒ Object
Returns the value of attribute razao_social.
-
#telefone ⇒ Object
Returns the value of attribute telefone.
Method Summary
Methods included from Helper::HaveAddress
#endereco, #endereco=, #validar_endereco
Methods inherited from ActiveModelBase
#assign_attributes, #default_values, #initialize
Constructor Details
This class inherits a constructor from BrNfe::ActiveModelBase
Instance Attribute Details
#cpf_cnpj ⇒ Object
Returns the value of attribute cpf_cnpj.
5 6 7 |
# File 'lib/br_nfe/destinatario.rb', line 5 def cpf_cnpj @cpf_cnpj end |
#email ⇒ Object
Returns the value of attribute email.
12 13 14 |
# File 'lib/br_nfe/destinatario.rb', line 12 def email @email end |
#inscricao_estadual ⇒ Object
Returns the value of attribute inscricao_estadual.
7 8 9 |
# File 'lib/br_nfe/destinatario.rb', line 7 def inscricao_estadual @inscricao_estadual end |
#inscricao_municipal ⇒ Object
Returns the value of attribute inscricao_municipal.
6 7 8 |
# File 'lib/br_nfe/destinatario.rb', line 6 def inscricao_municipal @inscricao_municipal end |
#inscricao_suframa ⇒ Object
Returns the value of attribute inscricao_suframa.
8 9 10 |
# File 'lib/br_nfe/destinatario.rb', line 8 def inscricao_suframa @inscricao_suframa end |
#nome_fantasia ⇒ Object
Returns the value of attribute nome_fantasia.
10 11 12 |
# File 'lib/br_nfe/destinatario.rb', line 10 def nome_fantasia @nome_fantasia end |
#razao_social ⇒ Object
Returns the value of attribute razao_social.
9 10 11 |
# File 'lib/br_nfe/destinatario.rb', line 9 def @razao_social end |
#telefone ⇒ Object
Returns the value of attribute telefone.
11 12 13 |
# File 'lib/br_nfe/destinatario.rb', line 11 def telefone @telefone end |