Parent

Class/Module Index [+]

Quicksearch

Fog::DNS::DNSimple::Mock

Public Class Methods

data() click to toggle source
# File lib/fog/dnsimple/dns.rb, line 30
def self.data
  @data ||= Hash.new do |hash, key|
    hash[key] = {}
  end
end
new(options={}) click to toggle source
# File lib/fog/dnsimple/dns.rb, line 40
def initialize(options={})
  @dnsimple_email = options[:dnsimple_email]
  @dnsimple_password  = options[:dnsimple_password]
end
reset() click to toggle source
# File lib/fog/dnsimple/dns.rb, line 36
def self.reset
  @data = nil
end

Public Instance Methods

data() click to toggle source
# File lib/fog/dnsimple/dns.rb, line 45
def data
  self.class.data[@dnsimple_email]
end
reset_data() click to toggle source
# File lib/fog/dnsimple/dns.rb, line 49
def reset_data
  self.class.data.delete(@dnsimple_email)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.