Class: Registrar::RenewalOptions
- Inherits:
-
Object
- Object
- Registrar::RenewalOptions
- Defined in:
- lib/registrar/renewal_options.rb
Instance Attribute Summary collapse
-
#number_of_years ⇒ Object
Returns the value of attribute number_of_years.
Instance Method Summary collapse
-
#initialize ⇒ RenewalOptions
constructor
A new instance of RenewalOptions.
Constructor Details
#initialize ⇒ RenewalOptions
Returns a new instance of RenewalOptions.
4 5 6 |
# File 'lib/registrar/renewal_options.rb', line 4 def initialize @number_of_years = 1 end |
Instance Attribute Details
#number_of_years ⇒ Object
Returns the value of attribute number_of_years.
3 4 5 |
# File 'lib/registrar/renewal_options.rb', line 3 def number_of_years @number_of_years end |