Sha256: 91e27252f8c426c033582aad5f4f0bbb3d059bbfea1060a5a4997d881996de6e
Contents?: true
Size: 674 Bytes
Versions: 15
Compression:
Stored size: 674 Bytes
Contents
require 'fog/core/model' module Fog module DNS class StormOnDemand class Domain < Fog::Model identity :domain attribute :admin_handle attribute :bill_handle attribute :created attribute :expire attribute :ip attribute :registrar attribute :renewal_max_years attribute :renewal_status attribute :tech_handle attribute :updated def initialize(attributes={}) super end def renew(years) requires :identity service.renew_domain(:domain => identity, :years => years) true end end end end end
Version data entries
15 entries across 15 versions & 4 rubygems