lib/fog/azurerm/credentials.rb in fog-azure-rm-0.0.2 vs lib/fog/azurerm/credentials.rb in fog-azure-rm-0.0.3

- old
+ new

@@ -1,9 +1,9 @@ module Fog module Credentials + # This class is managing credentials token class AzureRM - def self.get_credentials(tenant_id, client_id, client_secret) if @credentials.nil? || new_client(tenant_id, client_id, client_secret) get_new_credentials(tenant_id, client_id, client_secret) else @credentials @@ -24,14 +24,14 @@ @credentials end def self.new_client(tenant_id, client_id, client_secret) @tenant_id != tenant_id || - @client_id != client_id || - @client_secret != client_secret + @client_id != client_id || + @client_secret != client_secret end private_class_method :get_new_credentials private_class_method :new_client end end -end \ No newline at end of file +end