Sha256: 671fb7f126fc4b052a8ec54c20084ad9edbc72a5636208bc2aae7e31b91c29c8
Contents?: true
Size: 833 Bytes
Versions: 12
Compression:
Stored size: 833 Bytes
Contents
module Fog module Compute class XenServer class Real def get_record(ref, provider_class, options = {}) get_record_by_ref(ref, provider_class, options) end def get_record_by_ref(ref, provider_class, options = {}) @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "#{provider_class}.get_record"}, ref).merge(:reference => ref) end def get_by_name(name, provider_class) @connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "#{provider_class}.get_by_name_label" }, name) end def get_by_uuid(uuid, provider_class) @connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "#{provider_class}.get_by_uuid" }, uuid) end end end end end
Version data entries
12 entries across 10 versions & 2 rubygems