Class: Fog::DNS::StormOnDemand::Domain

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/dns/storm_on_demand/models/domain.rb

Instance Method Summary collapse

Instance Method Details

#renew(years) ⇒ Object



17
18
19
20
21
# File 'lib/fog/dns/storm_on_demand/models/domain.rb', line 17

def renew(years)
  requires :identity
  service.renew_domain(:domain => identity, :years => years)
  true
end