Skip to content

Commit fa7b180

Browse files
committed
deploy: dec39fe
1 parent 7ed9fe8 commit fa7b180

4 files changed

Lines changed: 95 additions & 22 deletions

File tree

classes/EasyPost-Constant-Constants.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ <h3 id="toc">
249249
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
250250
<a href="classes/EasyPost-Constant-Constants.html#constant_LIBRARY_VERSION">LIBRARY_VERSION</a>
251251
<span>
252-
&nbsp;= &#039;8.6.0&#039; </span>
252+
&nbsp;= &#039;8.7.0&#039; </span>
253253
</dt>
254254
<dd></dd>
255255

@@ -735,7 +735,7 @@ <h4 class="phpdocumentor-element__name" id="constant_LIBRARY_VERSION">
735735
<span class="phpdocumentor-signature__visibility">public</span>
736736
<span class="phpdocumentor-signature__type">mixed</span>
737737
<span class="phpdocumentor-signature__name">LIBRARY_VERSION</span>
738-
= <span class="phpdocumentor-signature__default-value">&#039;8.6.0&#039;</span>
738+
= <span class="phpdocumentor-signature__default-value">&#039;8.7.0&#039;</span>
739739
</code>
740740

741741

classes/EasyPost-EasyPostClient.html

Lines changed: 87 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h2 class="phpdocumentor-content__title">
137137
<aside class="phpdocumentor-element-found-in">
138138
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
139139
:
140-
<span class="phpdocumentor-element-found-in__line">79</span>
140+
<span class="phpdocumentor-element-found-in__line">81</span>
141141

142142
</aside>
143143

@@ -472,6 +472,13 @@ <h3 id="toc">
472472
</dt>
473473
<dd>Get the timeout of an EasyPostClient.</dd>
474474

475+
<dt class="phpdocumentor-table-of-contents__entry -method -public">
476+
<a href="classes/EasyPost-EasyPostClient.html#method_makeApiCall">makeApiCall()</a>
477+
<span>
478+
&nbsp;: mixed </span>
479+
</dt>
480+
<dd>Make an API call to the EasyPost API.</dd>
481+
475482
<dt class="phpdocumentor-table-of-contents__entry -method -public">
476483
<a href="classes/EasyPost-EasyPostClient.html#method_mock">mock()</a>
477484
<span>
@@ -1140,7 +1147,7 @@ <h4 class="phpdocumentor-element__name" id="property_httpClient">
11401147
<aside class="phpdocumentor-element-found-in">
11411148
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
11421149
:
1143-
<span class="phpdocumentor-element-found-in__line">88</span>
1150+
<span class="phpdocumentor-element-found-in__line">90</span>
11441151

11451152
</aside>
11461153

@@ -1471,7 +1478,7 @@ <h4 class="phpdocumentor-element__name" id="property_requestEvent">
14711478
<aside class="phpdocumentor-element-found-in">
14721479
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
14731480
:
1474-
<span class="phpdocumentor-element-found-in__line">86</span>
1481+
<span class="phpdocumentor-element-found-in__line">88</span>
14751482

14761483
</aside>
14771484

@@ -1505,7 +1512,7 @@ <h4 class="phpdocumentor-element__name" id="property_responseEvent">
15051512
<aside class="phpdocumentor-element-found-in">
15061513
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
15071514
:
1508-
<span class="phpdocumentor-element-found-in__line">87</span>
1515+
<span class="phpdocumentor-element-found-in__line">89</span>
15091516

15101517
</aside>
15111518

@@ -1771,7 +1778,7 @@ <h4 class="phpdocumentor-element__name" id="property_apiBase">
17711778
<aside class="phpdocumentor-element-found-in">
17721779
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
17731780
:
1774-
<span class="phpdocumentor-element-found-in__line">84</span>
1781+
<span class="phpdocumentor-element-found-in__line">86</span>
17751782

17761783
</aside>
17771784

@@ -1805,7 +1812,7 @@ <h4 class="phpdocumentor-element__name" id="property_apiKey">
18051812
<aside class="phpdocumentor-element-found-in">
18061813
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
18071814
:
1808-
<span class="phpdocumentor-element-found-in__line">82</span>
1815+
<span class="phpdocumentor-element-found-in__line">84</span>
18091816

18101817
</aside>
18111818

@@ -1839,7 +1846,7 @@ <h4 class="phpdocumentor-element__name" id="property_mockingUtility">
18391846
<aside class="phpdocumentor-element-found-in">
18401847
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
18411848
:
1842-
<span class="phpdocumentor-element-found-in__line">85</span>
1849+
<span class="phpdocumentor-element-found-in__line">87</span>
18431850

18441851
</aside>
18451852

@@ -1873,7 +1880,7 @@ <h4 class="phpdocumentor-element__name" id="property_timeout">
18731880
<aside class="phpdocumentor-element-found-in">
18741881
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
18751882
:
1876-
<span class="phpdocumentor-element-found-in__line">83</span>
1883+
<span class="phpdocumentor-element-found-in__line">85</span>
18771884

18781885
</aside>
18791886

@@ -1911,7 +1918,7 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
19111918
<aside class="phpdocumentor-element-found-in">
19121919
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
19131920
:
1914-
<span class="phpdocumentor-element-found-in__line">98</span>
1921+
<span class="phpdocumentor-element-found-in__line">100</span>
19151922

19161923
</aside>
19171924

@@ -1975,7 +1982,7 @@ <h4 class="phpdocumentor-element__name" id="method___get">
19751982
<aside class="phpdocumentor-element-found-in">
19761983
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
19771984
:
1978-
<span class="phpdocumentor-element-found-in__line">121</span>
1985+
<span class="phpdocumentor-element-found-in__line">123</span>
19791986

19801987
</aside>
19811988

@@ -2032,7 +2039,7 @@ <h4 class="phpdocumentor-element__name" id="method_getApiBase">
20322039
<aside class="phpdocumentor-element-found-in">
20332040
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
20342041
:
2035-
<span class="phpdocumentor-element-found-in__line">195</span>
2042+
<span class="phpdocumentor-element-found-in__line">197</span>
20362043

20372044
</aside>
20382045

@@ -2065,7 +2072,7 @@ <h4 class="phpdocumentor-element__name" id="method_getApiKey">
20652072
<aside class="phpdocumentor-element-found-in">
20662073
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
20672074
:
2068-
<span class="phpdocumentor-element-found-in__line">175</span>
2075+
<span class="phpdocumentor-element-found-in__line">177</span>
20692076

20702077
</aside>
20712078

@@ -2098,7 +2105,7 @@ <h4 class="phpdocumentor-element__name" id="method_getMockingUtility">
20982105
<aside class="phpdocumentor-element-found-in">
20992106
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
21002107
:
2101-
<span class="phpdocumentor-element-found-in__line">215</span>
2108+
<span class="phpdocumentor-element-found-in__line">217</span>
21022109

21032110
</aside>
21042111

@@ -2131,7 +2138,7 @@ <h4 class="phpdocumentor-element__name" id="method_getTimeout">
21312138
<aside class="phpdocumentor-element-found-in">
21322139
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
21332140
:
2134-
<span class="phpdocumentor-element-found-in__line">185</span>
2141+
<span class="phpdocumentor-element-found-in__line">187</span>
21352142

21362143
</aside>
21372144

@@ -2150,6 +2157,67 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
21502157
&mdash;
21512158

21522159

2160+
</article>
2161+
<article
2162+
class="phpdocumentor-element
2163+
-method
2164+
-public
2165+
"
2166+
>
2167+
<h4 class="phpdocumentor-element__name" id="method_makeApiCall">
2168+
makeApiCall()
2169+
<a href="classes/EasyPost-EasyPostClient.html#method_makeApiCall" class="headerlink"><i class="fas fa-link"></i></a>
2170+
</h4>
2171+
<aside class="phpdocumentor-element-found-in">
2172+
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
2173+
:
2174+
<span class="phpdocumentor-element-found-in__line">278</span>
2175+
2176+
</aside>
2177+
2178+
<p class="phpdocumentor-summary">Make an API call to the EasyPost API.</p>
2179+
2180+
<code class="phpdocumentor-code phpdocumentor-signature ">
2181+
<span class="phpdocumentor-signature__visibility">public</span>
2182+
<span class="phpdocumentor-signature__name">makeApiCall</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$method</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$endpoint</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
2183+
2184+
<section class="phpdocumentor-description"><p>This public, generic interface is useful for making arbitrary API calls to the EasyPost API that
2185+
are not yet supported by the client library's services. When possible, the service for your use case
2186+
should be used instead as it provides a more convenient and higher-level interface depending on the endpoint.</p>
2187+
</section>
2188+
2189+
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
2190+
<dl class="phpdocumentor-argument-list">
2191+
<dt class="phpdocumentor-argument-list__entry">
2192+
<span class="phpdocumentor-signature__argument__name">$method</span>
2193+
: <span class="phpdocumentor-signature__argument__return-type">string</span>
2194+
</dt>
2195+
<dd class="phpdocumentor-argument-list__definition">
2196+
2197+
</dd>
2198+
<dt class="phpdocumentor-argument-list__entry">
2199+
<span class="phpdocumentor-signature__argument__name">$endpoint</span>
2200+
: <span class="phpdocumentor-signature__argument__return-type">string</span>
2201+
</dt>
2202+
<dd class="phpdocumentor-argument-list__definition">
2203+
2204+
</dd>
2205+
<dt class="phpdocumentor-argument-list__entry">
2206+
<span class="phpdocumentor-signature__argument__name">$params</span>
2207+
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
2208+
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
2209+
<dd class="phpdocumentor-argument-list__definition">
2210+
2211+
</dd>
2212+
</dl>
2213+
2214+
2215+
2216+
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
2217+
<span class="phpdocumentor-signature__response_type">mixed</span>
2218+
&mdash;
2219+
2220+
21532221
</article>
21542222
<article
21552223
class="phpdocumentor-element
@@ -2164,7 +2232,7 @@ <h4 class="phpdocumentor-element__name" id="method_mock">
21642232
<aside class="phpdocumentor-element-found-in">
21652233
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
21662234
:
2167-
<span class="phpdocumentor-element-found-in__line">205</span>
2235+
<span class="phpdocumentor-element-found-in__line">207</span>
21682236

21692237
</aside>
21702238

@@ -2197,7 +2265,7 @@ <h4 class="phpdocumentor-element__name" id="method_subscribeToRequestHook">
21972265
<aside class="phpdocumentor-element-found-in">
21982266
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
21992267
:
2200-
<span class="phpdocumentor-element-found-in__line">226</span>
2268+
<span class="phpdocumentor-element-found-in__line">228</span>
22012269

22022270
</aside>
22032271

@@ -2240,7 +2308,7 @@ <h4 class="phpdocumentor-element__name" id="method_subscribeToResponseHook">
22402308
<aside class="phpdocumentor-element-found-in">
22412309
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
22422310
:
2243-
<span class="phpdocumentor-element-found-in__line">248</span>
2311+
<span class="phpdocumentor-element-found-in__line">250</span>
22442312

22452313
</aside>
22462314

@@ -2283,7 +2351,7 @@ <h4 class="phpdocumentor-element__name" id="method_unsubscribeFromRequestHook">
22832351
<aside class="phpdocumentor-element-found-in">
22842352
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
22852353
:
2286-
<span class="phpdocumentor-element-found-in__line">237</span>
2354+
<span class="phpdocumentor-element-found-in__line">239</span>
22872355

22882356
</aside>
22892357

@@ -2326,7 +2394,7 @@ <h4 class="phpdocumentor-element__name" id="method_unsubscribeFromResponseHook">
23262394
<aside class="phpdocumentor-element-found-in">
23272395
<abbr class="phpdocumentor-element-found-in__file" title="lib/EasyPost/EasyPostClient.php"><a href="files/lib-easypost-easypostclient.html"><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></a></abbr>
23282396
:
2329-
<span class="phpdocumentor-element-found-in__line">259</span>
2397+
<span class="phpdocumentor-element-found-in__line">261</span>
23302398

23312399
</aside>
23322400

js/searchIndex.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ Search.appendIndex(
245245
"name": "unsubscribeFromResponseHook",
246246
"summary": "Unsubscribe\u0020functions\u0020from\u0020running\u0020when\u0020a\u0020response\u0020even\u0020occurs.",
247247
"url": "classes/EasyPost-EasyPostClient.html#method_unsubscribeFromResponseHook"
248+
}, {
249+
"fqsen": "\\EasyPost\\EasyPostClient\u003A\u003AmakeApiCall\u0028\u0029",
250+
"name": "makeApiCall",
251+
"summary": "Make\u0020an\u0020API\u0020call\u0020to\u0020the\u0020EasyPost\u0020API.",
252+
"url": "classes/EasyPost-EasyPostClient.html#method_makeApiCall"
248253
}, {
249254
"fqsen": "\\EasyPost\\EasyPostClient\u003A\u003A\u0024apiKey",
250255
"name": "apiKey",

reports/markers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ <h3><abbr title="lib/EasyPost/EasyPostClient.php">EasyPostClient.php</abbr></h3>
153153
<tbody>
154154
<tr>
155155
<td class="phpdocumentor-cell">TODO</td>
156-
<td class="phpdocumentor-cell">160</td>
156+
<td class="phpdocumentor-cell">162</td>
157157
<td class="phpdocumentor-cell">checking for `_parent` is a hack and should be fixed when we revisit the</td>
158158
</tr>
159159
</tbody>

0 commit comments

Comments
 (0)