Parent

Class/Module Index [+]

Quicksearch

Fog::DNS::Linode::Mock

Public Class Methods

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

Public Instance Methods

data() click to toggle source
# File lib/fog/linode/dns.rb, line 43
def data
  self.class.data[@linode_api_key]
end
reset_data() click to toggle source
# File lib/fog/linode/dns.rb, line 47
def reset_data
  self.class.data.delete(@linode_api_key)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.