# File lib/fog/core/model.rb, line 13 def initialize(new_attributes = {}) # TODO Remove compatibility with old connection option @service = new_attributes.delete(:service) if @service.nil? && new_attributes[:connection] Fog::Logger.deprecation("Passing :connection option is deprecated, use :service instead [light_black](#{caller.first})[/]") @service = new_attributes[:connection] end merge_attributes(new_attributes) end