Method: Fog::Rackspace::AutoScale::Real#initialize
- Defined in:
- lib/fog/rackspace/auto_scale.rb
#initialize(options = {}) ⇒ Real
Returns a new instance of Real.
90 91 92 93 94 95 96 97 98 |
# File 'lib/fog/rackspace/auto_scale.rb', line 90 def initialize( = {}) @options = @options[:connection_options] ||= {} @options[:persistent] ||= false authenticate @connection = Fog::Core::Connection.new(endpoint_uri.to_s, @options[:persistent], @options[:connection_options]) end |