Class: Fog::DNS::StormOnDemand::Domain
- Inherits:
-
Model
- Object
- Model
- Fog::DNS::StormOnDemand::Domain
- Defined in:
- lib/fog/storm_on_demand/models/dns/domain.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Domain
constructor
A new instance of Domain.
- #renew(years) ⇒ Object
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 |