lib/adp/api_connection_factory.rb in adp-connection-0.1.4 vs lib/adp/api_connection_factory.rb in adp-connection-0.1.5
- old
+ new
@@ -21,10 +21,10 @@
when "AuthorizationCodeConfiguration"
return AuthorizationCodeConnection.new(connectionCfg)
when "ClientCredentialConfiguration"
return ClientCredentialConnection.new(connectionCfg)
else
- raise ADPConnectionException, "Grant type / Configuration type not implemented. #{connectionCfg.grantType}"
+ raise ConnectionException, "Grant type / Configuration type not implemented. #{connectionCfg.grantType}"
end
end
end
end
end
\ No newline at end of file