client/lib/deltacloud/client/methods/backward_compatiblity.rb
# Backward compatibility methods provides fallback for the
# old deltacloud-client gem.
#
#
Backward compatibility methods provides fallback for the
old deltacloud-client gem.
Backward compatibility methods provides fallback for the old deltacloud - client gem .
def with_config(opts, &block)
        yield inst = use(
          opts[:driver],
          opts[:username],
          opts[:password],
          opts[:provider]
        ) if block_given?
        inst
      end
def with_config ( opts , & block ) yield inst = use ( opts [ :driver ] , opts [ :username ] , opts [ :password ] , opts [ :provider ] ) if block_given? inst end
Backward compatibility methods provides fallback for the
old deltacloud-client gem.
Backward compatibility methods provides fallback for the old deltacloud - client gem .
opts
<not_specific>
block
<not_specific>