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

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

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Domain

Returns a new instance of Domain.



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

def initialize(attributes={})
  super
end

Instance Method Details

#renew(years) ⇒ Object



23
24
25
26
27
# File 'lib/fog/storm_on_demand/models/dns/domain.rb', line 23

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