Class: RfcFacil::JuristicPerson
- Inherits:
-
Object
- Object
- RfcFacil::JuristicPerson
- Defined in:
- lib/rfc_facil/juristic_person.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
Returns the value of attribute day.
-
#legal_name ⇒ Object
Returns the value of attribute legal_name.
-
#month ⇒ Object
Returns the value of attribute month.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Method Summary collapse
-
#initialize(legal_name, day, month, year) ⇒ JuristicPerson
constructor
A new instance of JuristicPerson.
Constructor Details
#initialize(legal_name, day, month, year) ⇒ JuristicPerson
Returns a new instance of JuristicPerson.
5 6 7 8 9 10 |
# File 'lib/rfc_facil/juristic_person.rb', line 5 def initialize(legal_name, day, month, year) @legal_name = legal_name @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
Returns the value of attribute day.
3 4 5 |
# File 'lib/rfc_facil/juristic_person.rb', line 3 def day @day end |
#legal_name ⇒ Object
Returns the value of attribute legal_name.
3 4 5 |
# File 'lib/rfc_facil/juristic_person.rb', line 3 def legal_name @legal_name end |
#month ⇒ Object
Returns the value of attribute month.
3 4 5 |
# File 'lib/rfc_facil/juristic_person.rb', line 3 def month @month end |
#year ⇒ Object
Returns the value of attribute year.
3 4 5 |
# File 'lib/rfc_facil/juristic_person.rb', line 3 def year @year end |