class Fog::DNS::StormOnDemand::Record

Public Class Methods

new(attributes={}) click to toggle source
Calls superclass method Fog::Model.new
# File lib/fog/storm_on_demand/models/dns/record.rb, line 28
def initialize(attributes={})
  super
end

Public Instance Methods

create_region(options) click to toggle source
# File lib/fog/storm_on_demand/models/dns/record.rb, line 44
def create_region(options)
  requires :identity
  service.create_record_region({:record_id => identity}.merge!(options))
  true
end
delete_region(options) click to toggle source
# File lib/fog/storm_on_demand/models/dns/record.rb, line 50
def delete_region(options)
  requires :identity
  service.delete_record_region({:record_id => identity}.merge!(options))
end
destroy() click to toggle source
# File lib/fog/storm_on_demand/models/dns/record.rb, line 32
def destroy
  requires :identity
  service.delete_record(:id => identity)
  true
end
update(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/dns/record.rb, line 38
def update(options={})
  requires :identity
  service.update_record({:id => identity}.merge!(options))
  true
end
update_region(options) click to toggle source
# File lib/fog/storm_on_demand/models/dns/record.rb, line 55
def update_region(options)
  requires :identity
  service.update_record_region({:record_id => identity}.merge!(options))
end