silkey-sdk 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +14 -0
- data/CHANGELOG.md +11 -1
- data/DEVELOPMENT.md +1 -1
- data/Gemfile.lock +3 -1
- data/README.md +16 -10
- data/lib/silkey/sdk.rb +51 -44
- data/lib/silkey/version.rb +1 -1
- data/silkey-sdk.gemspec +14 -1
- metadata +18 -63
- data/doc/CHANGELOG_md.html +0 -112
- data/doc/LICENSE_txt.html +0 -99
- data/doc/Object.html +0 -117
- data/doc/README_md.html +0 -144
- data/doc/Silkey.html +0 -269
- data/doc/Silkey/ClientFactory.html +0 -106
- data/doc/Silkey/Configuration.html +0 -217
- data/doc/Silkey/Contract.html +0 -106
- data/doc/Silkey/Contract/FrozenArray.html +0 -106
- data/doc/Silkey/ContractFactory.html +0 -106
- data/doc/Silkey/LoggerService.html +0 -106
- data/doc/Silkey/Models.html +0 -99
- data/doc/Silkey/Models/JwtPayload.html +0 -622
- data/doc/Silkey/RegistryContract.html +0 -106
- data/doc/Silkey/SDK.html +0 -356
- data/doc/Silkey/Utils.html +0 -709
- data/doc/created.rid +0 -23
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -619
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -112
- data/doc/js/darkfish.js +0 -84
- data/doc/js/navigation.js +0 -105
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -110
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -229
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +0 -318
data/doc/LICENSE_txt.html
DELETED
@@ -1,99 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>LICENSE - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="file">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="./index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<div id="project-metadata">
|
61
|
-
<div id="fileindex-section" class="nav-section">
|
62
|
-
<h3>Pages</h3>
|
63
|
-
|
64
|
-
<ul class="link-list">
|
65
|
-
|
66
|
-
<li><a href="./CHANGELOG_md.html">CHANGELOG</a>
|
67
|
-
|
68
|
-
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
69
|
-
|
70
|
-
<li><a href="./README_md.html">README</a>
|
71
|
-
|
72
|
-
</ul>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
</div>
|
76
|
-
</nav>
|
77
|
-
|
78
|
-
<main role="main" aria-label="Page LICENSE.txt">
|
79
|
-
|
80
|
-
<p>The MIT License (MIT)</p>
|
81
|
-
|
82
|
-
<p>Copyright © 2020 <a href="Silkey.html"><code>Silkey</code></a></p>
|
83
|
-
|
84
|
-
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
|
85
|
-
|
86
|
-
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
|
87
|
-
|
88
|
-
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
|
89
|
-
|
90
|
-
</main>
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
<footer id="validator-badges" role="contentinfo">
|
95
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
97
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
|
-
</footer>
|
99
|
-
|
data/doc/Object.html
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Object - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="class">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="./index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<div id="class-metadata">
|
61
|
-
|
62
|
-
<div id="parent-class-section" class="nav-section">
|
63
|
-
<h3>Parent</h3>
|
64
|
-
|
65
|
-
|
66
|
-
<p class="link">BasicObject
|
67
|
-
|
68
|
-
</div>
|
69
|
-
|
70
|
-
<div id="includes-section" class="nav-section">
|
71
|
-
<h3>Included Modules</h3>
|
72
|
-
|
73
|
-
<ul class="link-list">
|
74
|
-
|
75
|
-
|
76
|
-
<li><span class="include">FactoryBot::Syntax::Methods</span>
|
77
|
-
|
78
|
-
|
79
|
-
</ul>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
</div>
|
85
|
-
</nav>
|
86
|
-
|
87
|
-
<main role="main" aria-labelledby="class-Object">
|
88
|
-
<h1 id="class-Object" class="class">
|
89
|
-
class Object
|
90
|
-
</h1>
|
91
|
-
|
92
|
-
<section class="description">
|
93
|
-
|
94
|
-
</section>
|
95
|
-
|
96
|
-
|
97
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
</section>
|
108
|
-
|
109
|
-
</main>
|
110
|
-
|
111
|
-
|
112
|
-
<footer id="validator-badges" role="contentinfo">
|
113
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
114
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
115
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
116
|
-
</footer>
|
117
|
-
|
data/doc/README_md.html
DELETED
@@ -1,144 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>README - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="file">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="./index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
<div class="nav-section">
|
60
|
-
<h3>Table of Contents</h3>
|
61
|
-
|
62
|
-
<ul class="link-list" role="directory">
|
63
|
-
<li><a href="#label-Silkey-SDK+for+Ruby">Silkey-SDK for Ruby</a>
|
64
|
-
<li><a href="#label-Integration">Integration</a>
|
65
|
-
<li><a href="#label-Configuration">Configuration</a>
|
66
|
-
<li><a href="#label-Sign+In+with+Silkey">Sign In with Silkey</a>
|
67
|
-
<li><a href="#label-Making+request">Making request</a>
|
68
|
-
<li><a href="#label-On+request+callback+page">On request callback page</a>
|
69
|
-
<li><a href="#label-License">License</a>
|
70
|
-
</ul>
|
71
|
-
</div>
|
72
|
-
|
73
|
-
|
74
|
-
<div id="project-metadata">
|
75
|
-
<div id="fileindex-section" class="nav-section">
|
76
|
-
<h3>Pages</h3>
|
77
|
-
|
78
|
-
<ul class="link-list">
|
79
|
-
|
80
|
-
<li><a href="./CHANGELOG_md.html">CHANGELOG</a>
|
81
|
-
|
82
|
-
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
83
|
-
|
84
|
-
<li><a href="./README_md.html">README</a>
|
85
|
-
|
86
|
-
</ul>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
</nav>
|
91
|
-
|
92
|
-
<main role="main" aria-label="Page README.md">
|
93
|
-
|
94
|
-
<h1 id="label-Silkey-SDK+for+Ruby">Silkey-SDK for Ruby<span><a href="#label-Silkey-SDK+for+Ruby">¶</a> <a href="#top">↑</a></span></h1>
|
95
|
-
|
96
|
-
<p>[logo]</p>
|
97
|
-
|
98
|
-
<p>[slogan]</p>
|
99
|
-
|
100
|
-
<h2 id="label-Integration">Integration<span><a href="#label-Integration">¶</a> <a href="#top">↑</a></span></h2>
|
101
|
-
|
102
|
-
<h3 id="label-Configuration">Configuration<span><a href="#label-Configuration">¶</a> <a href="#top">↑</a></span></h3>
|
103
|
-
|
104
|
-
<pre class="ruby"><span class="ruby-constant">Silkey</span><span class="ruby-operator">::</span><span class="ruby-constant">Configuration</span>.<span class="ruby-identifier">setup</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
|
105
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">client_url</span> = <span class="ruby-string">'http://localhost:8545'</span> <span class="ruby-comment"># for local development</span>
|
106
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">client_url</span> = <span class="ruby-string">'https://kovan.infura.io/v3/:id'</span> <span class="ruby-comment"># for real</span>
|
107
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">registry_contract_address</span> = <span class="ruby-string">'--silky-registry-contrract-address--'</span>
|
108
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">enable_logs</span> = <span class="ruby-keyword">false</span>
|
109
|
-
<span class="ruby-keyword">end</span>
|
110
|
-
</pre>
|
111
|
-
|
112
|
-
<p><a href="https://github.com/Silkey-Team/silkey-sdk#silkey-sdk">List of Silkey contract address.</a></p>
|
113
|
-
|
114
|
-
<h3 id="label-Sign+In+with+Silkey">Sign In with <a href="Silkey.html"><code>Silkey</code></a><span><a href="#label-Sign+In+with+Silkey">¶</a> <a href="#top">↑</a></span></h3>
|
115
|
-
|
116
|
-
<h4 id="label-Making+request">Making request<span><a href="#label-Making+request">¶</a> <a href="#top">↑</a></span></h4>
|
117
|
-
|
118
|
-
<p><a href="https://github.com/Silkey-Team/silkey-sdk#silkey-sdk">List of request parameters.</a></p>
|
119
|
-
|
120
|
-
<pre>- Silkey::SDK.message_to_sign({params})
|
121
|
-
- Silkey::SDK.generate_sso_request_params(private_key, hash)</pre>
|
122
|
-
|
123
|
-
<h4 id="label-On+request+callback+page">On request callback page<span><a href="#label-On+request+callback+page">¶</a> <a href="#top">↑</a></span></h4>
|
124
|
-
|
125
|
-
<p><code>token</code> - get if from request params (it can be send either via POST or GET)</p>
|
126
|
-
|
127
|
-
<pre class="ruby"><span class="ruby-identifier">silkey_public_key</span> = <span class="ruby-constant">Silkey</span><span class="ruby-operator">::</span><span class="ruby-constant">SDK</span>.<span class="ruby-identifier">fetch_silkey_public_key</span>
|
128
|
-
<span class="ruby-constant">Silkey</span><span class="ruby-operator">::</span><span class="ruby-constant">SDK</span>.<span class="ruby-identifier">token_payload_verifier</span>(<span class="ruby-identifier">token</span>, <span class="ruby-identifier">silkey_public_key</span>)
|
129
|
-
</pre>
|
130
|
-
|
131
|
-
<h2 id="label-License">License<span><a href="#label-License">¶</a> <a href="#top">↑</a></span></h2>
|
132
|
-
|
133
|
-
<p>The gem is available as open source under the terms of the <a href="https://opensource.org/licenses/MIT">MIT License</a>.</p>
|
134
|
-
|
135
|
-
</main>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<footer id="validator-badges" role="contentinfo">
|
140
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
141
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
142
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
143
|
-
</footer>
|
144
|
-
|
data/doc/Silkey.html
DELETED
@@ -1,269 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>module Silkey - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="module">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="./index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<div id="class-metadata">
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<!-- Method Quickref -->
|
66
|
-
<div id="method-list-section" class="nav-section">
|
67
|
-
<h3>Methods</h3>
|
68
|
-
|
69
|
-
<ul class="link-list" role="directory">
|
70
|
-
|
71
|
-
<li ><a href="#method-c-abi_path">::abi_path</a>
|
72
|
-
|
73
|
-
<li ><a href="#method-c-bin_path">::bin_path</a>
|
74
|
-
|
75
|
-
<li ><a href="#method-c-lib_path">::lib_path</a>
|
76
|
-
|
77
|
-
<li ><a href="#method-c-root_path">::root_path</a>
|
78
|
-
|
79
|
-
</ul>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
</div>
|
83
|
-
</nav>
|
84
|
-
|
85
|
-
<main role="main" aria-labelledby="module-Silkey">
|
86
|
-
<h1 id="module-Silkey" class="module">
|
87
|
-
module Silkey
|
88
|
-
</h1>
|
89
|
-
|
90
|
-
<section class="description">
|
91
|
-
|
92
|
-
</section>
|
93
|
-
|
94
|
-
|
95
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<section class="constants-list">
|
102
|
-
<header>
|
103
|
-
<h3>Constants</h3>
|
104
|
-
</header>
|
105
|
-
<dl>
|
106
|
-
|
107
|
-
<dt id="VERSION">VERSION
|
108
|
-
|
109
|
-
<dd>
|
110
|
-
|
111
|
-
|
112
|
-
</dl>
|
113
|
-
</section>
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
120
|
-
<header>
|
121
|
-
<h3>Public Class Methods</h3>
|
122
|
-
</header>
|
123
|
-
|
124
|
-
|
125
|
-
<div id="method-c-abi_path" class="method-detail ">
|
126
|
-
|
127
|
-
<div class="method-heading">
|
128
|
-
<span class="method-name">abi_path</span><span
|
129
|
-
class="method-args">()</span>
|
130
|
-
|
131
|
-
<span class="method-click-advice">click to toggle source</span>
|
132
|
-
|
133
|
-
</div>
|
134
|
-
|
135
|
-
|
136
|
-
<div class="method-description">
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<div class="method-source-code" id="abi_path-source">
|
144
|
-
<pre><span class="ruby-comment"># File lib/silkey.rb, line 19</span>
|
145
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">abi_path</span>
|
146
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span> <span class="ruby-identifier">root_path</span>, <span class="ruby-string">'lib/silkey/abi'</span>
|
147
|
-
<span class="ruby-keyword">end</span></pre>
|
148
|
-
</div>
|
149
|
-
|
150
|
-
</div>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
</div>
|
156
|
-
|
157
|
-
|
158
|
-
<div id="method-c-bin_path" class="method-detail ">
|
159
|
-
|
160
|
-
<div class="method-heading">
|
161
|
-
<span class="method-name">bin_path</span><span
|
162
|
-
class="method-args">()</span>
|
163
|
-
|
164
|
-
<span class="method-click-advice">click to toggle source</span>
|
165
|
-
|
166
|
-
</div>
|
167
|
-
|
168
|
-
|
169
|
-
<div class="method-description">
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<div class="method-source-code" id="bin_path-source">
|
177
|
-
<pre><span class="ruby-comment"># File lib/silkey.rb, line 11</span>
|
178
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">bin_path</span>
|
179
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span> <span class="ruby-identifier">root_path</span>, <span class="ruby-string">'bin'</span>
|
180
|
-
<span class="ruby-keyword">end</span></pre>
|
181
|
-
</div>
|
182
|
-
|
183
|
-
</div>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
</div>
|
189
|
-
|
190
|
-
|
191
|
-
<div id="method-c-lib_path" class="method-detail ">
|
192
|
-
|
193
|
-
<div class="method-heading">
|
194
|
-
<span class="method-name">lib_path</span><span
|
195
|
-
class="method-args">()</span>
|
196
|
-
|
197
|
-
<span class="method-click-advice">click to toggle source</span>
|
198
|
-
|
199
|
-
</div>
|
200
|
-
|
201
|
-
|
202
|
-
<div class="method-description">
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
<div class="method-source-code" id="lib_path-source">
|
210
|
-
<pre><span class="ruby-comment"># File lib/silkey.rb, line 15</span>
|
211
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">lib_path</span>
|
212
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span> <span class="ruby-identifier">root_path</span>, <span class="ruby-string">'lib'</span>
|
213
|
-
<span class="ruby-keyword">end</span></pre>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
</div>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
</div>
|
222
|
-
|
223
|
-
|
224
|
-
<div id="method-c-root_path" class="method-detail ">
|
225
|
-
|
226
|
-
<div class="method-heading">
|
227
|
-
<span class="method-name">root_path</span><span
|
228
|
-
class="method-args">()</span>
|
229
|
-
|
230
|
-
<span class="method-click-advice">click to toggle source</span>
|
231
|
-
|
232
|
-
</div>
|
233
|
-
|
234
|
-
|
235
|
-
<div class="method-description">
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
<div class="method-source-code" id="root_path-source">
|
243
|
-
<pre><span class="ruby-comment"># File lib/silkey.rb, line 7</span>
|
244
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">root_path</span>
|
245
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span> <span class="ruby-identifier">__dir__</span>
|
246
|
-
<span class="ruby-keyword">end</span></pre>
|
247
|
-
</div>
|
248
|
-
|
249
|
-
</div>
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
</div>
|
255
|
-
|
256
|
-
|
257
|
-
</section>
|
258
|
-
|
259
|
-
</section>
|
260
|
-
|
261
|
-
</main>
|
262
|
-
|
263
|
-
|
264
|
-
<footer id="validator-badges" role="contentinfo">
|
265
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
266
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
267
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
268
|
-
</footer>
|
269
|
-
|