Method: Fog::OpenStack::Introspection::Mock.data

Defined in:
lib/fog/openstack/introspection.rb

.dataObject



44
45
46
47
48
49
50
# File 'lib/fog/openstack/introspection.rb', line 44

def self.data
  @data ||= Hash.new do |hash, key|
    # Introspection data is *huge* we load it from a yaml file
    file = "test/fixtures/introspection.yaml"
    hash[key] = YAML.load(File.read(file))
  end
end