lib/spark_api/authentication/oauth2.rb in spark_api-1.0.1 vs lib/spark_api/authentication/oauth2.rb in spark_api-1.0.2

- old
+ new

@@ -180,9 +180,10 @@ require 'spark_api/authentication/oauth2_impl/grant_type_base' require 'spark_api/authentication/oauth2_impl/grant_type_refresh' require 'spark_api/authentication/oauth2_impl/grant_type_code' require 'spark_api/authentication/oauth2_impl/grant_type_password' require 'spark_api/authentication/oauth2_impl/password_provider' + require 'spark_api/authentication/oauth2_impl/simple_provider' # Loads a provider class from a string def self.load_provider(string, args={}) constant = Object string.split("::").compact.each { |name| constant = constant.const_get(name) unless name == ""}