Skip to content

Commit 2a23bb1

Browse files
committed
deploy: 9db015f
1 parent 44daa7f commit 2a23bb1

File tree

8 files changed

+565
-115
lines changed

8 files changed

+565
-115
lines changed

EasyPost/Client.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>Public Instance Methods</h3>
334334
<div class="method-description">
335335

336336
<div class="method-source-code" id="make_request-source">
337-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 82</span>
337+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 84</span>
338338
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">make_request</span>(
339339
<span class="ruby-identifier">method</span>,
340340
<span class="ruby-identifier">endpoint</span>,
@@ -390,7 +390,7 @@ <h3>Public Instance Methods</h3>
390390
<div class="method-description">
391391

392392
<div class="method-source-code" id="subscribe_request_hook-source">
393-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 101</span>
393+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 103</span>
394394
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">subscribe_request_hook</span>(<span class="ruby-identifier">name</span> = <span class="ruby-constant">SecureRandom</span>.<span class="ruby-identifier">hex</span>.<span class="ruby-identifier">to_sym</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
395395
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">Hooks</span>.<span class="ruby-identifier">subscribe</span>(<span class="ruby-value">:request</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">block</span>)
396396
<span class="ruby-keyword">end</span></pre>
@@ -436,7 +436,7 @@ <h3>Public Instance Methods</h3>
436436
<div class="method-description">
437437

438438
<div class="method-source-code" id="subscribe_response_hook-source">
439-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 125</span>
439+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 127</span>
440440
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">subscribe_response_hook</span>(<span class="ruby-identifier">name</span> = <span class="ruby-constant">SecureRandom</span>.<span class="ruby-identifier">hex</span>.<span class="ruby-identifier">to_sym</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
441441
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">Hooks</span>.<span class="ruby-identifier">subscribe</span>(<span class="ruby-value">:response</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">block</span>)
442442
<span class="ruby-keyword">end</span></pre>
@@ -482,7 +482,7 @@ <h3>Public Instance Methods</h3>
482482
<div class="method-description">
483483

484484
<div class="method-source-code" id="unsubscribe_all_request_hooks-source">
485-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 116</span>
485+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 118</span>
486486
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unsubscribe_all_request_hooks</span>
487487
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">Hooks</span>.<span class="ruby-identifier">unsubscribe_all</span>(<span class="ruby-value">:request</span>)
488488
<span class="ruby-keyword">end</span></pre>
@@ -528,7 +528,7 @@ <h3>Public Instance Methods</h3>
528528
<div class="method-description">
529529

530530
<div class="method-source-code" id="unsubscribe_all_response_hooks-source">
531-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 140</span>
531+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 142</span>
532532
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unsubscribe_all_response_hooks</span>
533533
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">Hooks</span>.<span class="ruby-identifier">unsubscribe_all</span>(<span class="ruby-value">:response</span>)
534534
<span class="ruby-keyword">end</span></pre>
@@ -574,7 +574,7 @@ <h3>Public Instance Methods</h3>
574574
<div class="method-description">
575575

576576
<div class="method-source-code" id="unsubscribe_request_hook-source">
577-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 109</span>
577+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 111</span>
578578
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unsubscribe_request_hook</span>(<span class="ruby-identifier">name</span>)
579579
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">Hooks</span>.<span class="ruby-identifier">unsubscribe</span>(<span class="ruby-value">:request</span>, <span class="ruby-identifier">name</span>)
580580
<span class="ruby-keyword">end</span></pre>
@@ -620,7 +620,7 @@ <h3>Public Instance Methods</h3>
620620
<div class="method-description">
621621

622622
<div class="method-source-code" id="unsubscribe_response_hook-source">
623-
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 133</span>
623+
<pre><span class="ruby-comment"># File lib/easypost/client.rb, line 135</span>
624624
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unsubscribe_response_hook</span>(<span class="ruby-identifier">name</span>)
625625
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">Hooks</span>.<span class="ruby-identifier">unsubscribe</span>(<span class="ruby-value">:response</span>, <span class="ruby-identifier">name</span>)
626626
<span class="ruby-keyword">end</span></pre>
Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
<!DOCTYPE html>
2+
3+
<html lang="en">
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
<title>class EasyPost::Services::CustomerPortal - EasyPost Ruby Docs</title>
9+
10+
11+
<meta name="keywords" content="ruby,class,EasyPost::Services::CustomerPortal">
12+
13+
14+
<meta name="description" content="Documentation for the EasyPost::Services::CustomerPortal class">
15+
16+
17+
18+
19+
20+
<script type="text/javascript">
21+
var rdoc_rel_prefix = "../../";
22+
var index_rel_prefix = "../../";
23+
</script>
24+
25+
<script src="../../js/navigation.js" defer></script>
26+
<script src="../../js/search.js" defer></script>
27+
<script src="../../js/search_index.js" defer></script>
28+
<script src="../../js/searcher.js" defer></script>
29+
<script src="../../js/darkfish.js" defer></script>
30+
31+
<link href="../../css/fonts.css" rel="stylesheet">
32+
<link href="../../css/rdoc.css" rel="stylesheet">
33+
34+
35+
36+
<body id="top" role="document" class="class">
37+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
38+
<span aria-hidden="true">&#9776;</span>
39+
</div>
40+
41+
42+
<nav id="navigation" role="navigation">
43+
<div id="project-navigation">
44+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
45+
<h2>
46+
<a href="../../index.html" rel="home">Home</a>
47+
</h2>
48+
49+
<div id="table-of-contents-navigation">
50+
<a href="../../table_of_contents.html#pages">Pages</a>
51+
<a href="../../table_of_contents.html#classes">Classes</a>
52+
<a href="../../table_of_contents.html#methods">Methods</a>
53+
</div>
54+
</div>
55+
56+
<div id="search-section" role="search" class="project-section initially-hidden">
57+
<form action="#" method="get" accept-charset="utf-8">
58+
<div id="search-field-wrapper">
59+
<input id="search-field" role="combobox" aria-label="Search"
60+
aria-autocomplete="list" aria-controls="search-results"
61+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
62+
title="Type to search, Up and Down to navigate, Enter to load">
63+
</div>
64+
65+
<ul id="search-results" aria-label="Search Results"
66+
aria-busy="false" aria-expanded="false"
67+
aria-atomic="false" class="initially-hidden"></ul>
68+
</form>
69+
</div>
70+
71+
</div>
72+
73+
74+
75+
76+
77+
78+
<div id="parent-class-section" class="nav-section">
79+
<h3>Ancestors</h3>
80+
<ul><li><a href="Service.html">EasyPost::Services::Service</a><ul><li>Object</li></ul></li></ul>
81+
</div>
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
<div class="nav-section">
92+
<h3>Instance Methods</h3>
93+
<ul class="link-list" role="directory">
94+
95+
<li ><a href="#method-i-create_account_link">create_account_link</a></li>
96+
97+
</ul>
98+
</div>
99+
100+
101+
102+
<footer id="validator-badges" role="contentinfo">
103+
<p><a href="https://validator.w3.org/check/referer">Validate</a></p>
104+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.15.1.</p>
105+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.</p>
106+
</footer>
107+
108+
</nav>
109+
110+
<main role="main" aria-labelledby="class-EasyPost::Services::CustomerPortal">
111+
112+
113+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
114+
115+
<li>
116+
117+
<a href="../../EasyPost.html">EasyPost</a><span>::</span>
118+
119+
</li>
120+
121+
<li>
122+
123+
<a href="../../EasyPost/Services.html">Services</a><span>::</span>
124+
125+
</li>
126+
127+
<li>
128+
129+
<span>CustomerPortal</span>
130+
131+
</li>
132+
133+
</ol>
134+
135+
136+
<h1 id="class-EasyPost::Services::CustomerPortal" class="anchor-link class">
137+
class EasyPost::Services::CustomerPortal
138+
</h1>
139+
140+
<section class="description">
141+
142+
</section>
143+
144+
145+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
146+
147+
148+
149+
150+
151+
152+
153+
154+
155+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section anchor-link">
156+
<header>
157+
<h3>Public Instance Methods</h3>
158+
</header>
159+
160+
161+
<div id="method-i-create_account_link" class="method-detail anchor-link ">
162+
<div class="method-header">
163+
164+
<div class="method-heading">
165+
<a href="#method-i-create_account_link" title="Link to this method">
166+
<span class="method-name">create_account_link</span>
167+
<span class="method-args">(params = {})</span>
168+
</a>
169+
</div>
170+
171+
</div>
172+
173+
174+
<div class="method-controls">
175+
<details class="method-source-toggle">
176+
<summary>Source</summary>
177+
</details>
178+
</div>
179+
180+
181+
182+
<div class="method-description">
183+
184+
<div class="method-source-code" id="create_account_link-source">
185+
<pre><span class="ruby-comment"># File lib/easypost/services/customer_portal.rb, line 5</span>
186+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create_account_link</span>(<span class="ruby-identifier">params</span> = {})
187+
<span class="ruby-identifier">response</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">make_request</span>(<span class="ruby-value">:post</span>, <span class="ruby-string">&#39;customer_portal/account_link&#39;</span>, <span class="ruby-identifier">params</span>)
188+
189+
<span class="ruby-constant">EasyPost</span><span class="ruby-operator">::</span><span class="ruby-constant">InternalUtilities</span><span class="ruby-operator">::</span><span class="ruby-constant">Json</span>.<span class="ruby-identifier">convert_json_to_object</span>(<span class="ruby-identifier">response</span>)
190+
<span class="ruby-keyword">end</span></pre>
191+
</div>
192+
193+
194+
195+
<p>Create a Portal Session</p>
196+
197+
198+
</div>
199+
200+
201+
202+
203+
204+
</div>
205+
206+
207+
</section>
208+
209+
</section>
210+
211+
</main>
212+
</body>
213+

0 commit comments

Comments
 (0)