Sha256: 57740d55392159c69463a967d5e290bbca1e3a50862a6fe658f92341814f04b9
Contents?: true
Size: 878 Bytes
Versions: 51
Compression:
Stored size: 878 Bytes
Contents
require 'fog/core/model' module Fog module DNS class StormOnDemand class Zone < Fog::Model identity :id attribute :active attribute :delegation_checked attribute :delegation_status attribute :master attribute :name attribute :notified_serial attribute :region_support attribute :type def initialize(attributes={}) super end def delegation requires :identity service.check_zone_delegation(:id => identity).body['delegation'] end def destroy requires :identity service.delete_zone(:id => identity).body['deleted'] end def update(options={}) requires :identity service.update_zone({:id => identity}.merge!(options)) end end end end end
Version data entries
51 entries across 51 versions & 3 rubygems