We should provide a factory which returns configured Guzzle clients for interacting with the API.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
FileSize
4.16 KB

Initial patch, needs to be tested up and all that.

mglaman’s picture

Revised patch that is actually a factory.

mglaman’s picture

Status: Needs review » Needs work
+++ b/commerce_avatax.services.yml
@@ -1,7 +1,10 @@
+    arguments: ['@config.factory', '@h']

http_client_factory

mglaman’s picture

Status: Needs work » Needs review
FileSize
4.14 KB

Fixed up patch

steveoliver’s picture

Status: Needs review » Fixed

Committed.

  • steveoliver committed 1589994 on 8.x-1.x
    Issue #2842524: Fix docblock name of ClientFactory class.
    
steveoliver’s picture

Status: Fixed » Closed (fixed)