Class: Membro
- Inherits:
-
Object
- Object
- Membro
- Defined in:
- lib/cnpq_ws/membro.rb
Instance Attribute Summary collapse
-
#flag_responsavel ⇒ Object
Returns the value of attribute flag_responsavel.
-
#nome_completo ⇒ Object
Returns the value of attribute nome_completo.
-
#nome_para_citacao ⇒ Object
Returns the value of attribute nome_para_citacao.
-
#nro_id_cnpq ⇒ Object
Returns the value of attribute nro_id_cnpq.
-
#ordem_de_integracao ⇒ Object
Returns the value of attribute ordem_de_integracao.
Instance Method Summary collapse
-
#initialize(options = []) ⇒ Membro
constructor
A new instance of Membro.
- #responsavel? ⇒ Boolean
Constructor Details
#initialize(options = []) ⇒ Membro
Returns a new instance of Membro.
4 5 6 7 8 9 10 |
# File 'lib/cnpq_ws/membro.rb', line 4 def initialize( = []) @nome_completo = [:nome_completo] @nome_para_citacao = [:nome_para_citacao] @ordem_de_integracao = [:ordem_de_integracao] @flag_responsavel = [:flag_responsavel] @nro_id_cnpq = [:nro_id_cnpq] end |
Instance Attribute Details
#flag_responsavel ⇒ Object
Returns the value of attribute flag_responsavel.
2 3 4 |
# File 'lib/cnpq_ws/membro.rb', line 2 def flag_responsavel @flag_responsavel end |
#nome_completo ⇒ Object
Returns the value of attribute nome_completo.
2 3 4 |
# File 'lib/cnpq_ws/membro.rb', line 2 def nome_completo @nome_completo end |
#nome_para_citacao ⇒ Object
Returns the value of attribute nome_para_citacao.
2 3 4 |
# File 'lib/cnpq_ws/membro.rb', line 2 def nome_para_citacao @nome_para_citacao end |
#nro_id_cnpq ⇒ Object
Returns the value of attribute nro_id_cnpq.
2 3 4 |
# File 'lib/cnpq_ws/membro.rb', line 2 def nro_id_cnpq @nro_id_cnpq end |
#ordem_de_integracao ⇒ Object
Returns the value of attribute ordem_de_integracao.
2 3 4 |
# File 'lib/cnpq_ws/membro.rb', line 2 def ordem_de_integracao @ordem_de_integracao end |
Instance Method Details
#responsavel? ⇒ Boolean
12 13 14 |
# File 'lib/cnpq_ws/membro.rb', line 12 def responsavel? self.flag_responsavel == 'SIM' end |