Sha256: f984d0f1ffebb4c01f6648423f029df766889c134ca2b77d191dbd1b8668be2c
Contents?: true
Size: 697 Bytes
Versions: 25
Compression:
Stored size: 697 Bytes
Contents
module Fog module DNS class OpenStack < Fog::Service autoload :V1, 'fog/dns/openstack/v1' autoload :V2, 'fog/dns/openstack/v2' # Fog::DNS::OpenStack.new() will return a Fog::DNS::OpenStack::V2 or a Fog::DNS::OpenStack::V1, # choosing the latest available def self.new(args = {}) @openstack_auth_uri = URI.parse(args[:openstack_auth_url]) if args[:openstack_auth_url] if inspect == 'Fog::DNS::OpenStack' service = Fog::DNS::OpenStack::V2.new(args) unless args.empty? service ||= Fog::DNS::OpenStack::V1.new(args) else service = Fog::Service.new(args) end service end end end end
Version data entries
25 entries across 23 versions & 3 rubygems