Parent

Class/Module Index [+]

Quicksearch

Fog::DNS::Dreamhost::Mock

Public Class Methods

data() click to toggle source
# File lib/fog/dreamhost/dns.rb, line 23
def self.data
  @data ||= Hash.new do |hash, key|
    hash[key] = {}
  end
end
new(options={}) click to toggle source
# File lib/fog/dreamhost/dns.rb, line 33
def initialize(options={})
  @dreamhost_api_key  = options[:dreamhost_api_key]
end
reset() click to toggle source
# File lib/fog/dreamhost/dns.rb, line 29
def self.reset
  @data = nil
end

Public Instance Methods

create_record(record, type, value, comment = "") click to toggle source
# File lib/fog/dreamhost/requests/dns/create_record.rb, line 7
def create_record(record, type, value, comment = "")
  Fog::Mock.not_implemented
end
data() click to toggle source
# File lib/fog/dreamhost/dns.rb, line 37
def data
  self.class.data
end
delete_record(name, type, value) click to toggle source
# File lib/fog/dreamhost/requests/dns/delete_record.rb, line 7
def delete_record(name, type, value)
  raise Fog::Mock.not_implemented
end
request(*args) click to toggle source
# File lib/fog/dreamhost/requests/dns/list_records.rb, line 7
def request(*args)
  Fog::Mock.not_implemented
end
reset_data() click to toggle source
# File lib/fog/dreamhost/dns.rb, line 41
def reset_data
  self.class.data.delete
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.