Class: Registrar::RenewalOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/registrar/renewal_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRenewalOptions

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_yearsObject

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