approveapi_swagger 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/doc/ApproveAPISwagger/AnswerMetadata.html +789 -0
- data/doc/ApproveAPISwagger/ApiClient.html +1032 -0
- data/doc/ApproveAPISwagger/ApiError.html +224 -0
- data/doc/ApproveAPISwagger/ApproveApi.html +501 -0
- data/doc/ApproveAPISwagger/Configuration.html +941 -0
- data/doc/ApproveAPISwagger/CreatePromptRequest.html +879 -0
- data/doc/ApproveAPISwagger/Error.html +754 -0
- data/doc/ApproveAPISwagger/Prompt.html +819 -0
- data/doc/ApproveAPISwagger/PromptAnswer.html +799 -0
- data/doc/ApproveAPISwagger/PromptMetadata.html +829 -0
- data/doc/ApproveAPISwagger/PromptStatus.html +754 -0
- data/doc/ApproveAPISwagger.html +185 -0
- data/doc/Gemfile.html +120 -0
- data/doc/Gemfile_lock.html +194 -0
- data/doc/README_md.html +225 -0
- data/doc/Rakefile.html +125 -0
- data/doc/approveapi_swagger_gemspec.html +161 -0
- data/doc/created.rid +39 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/docs/AnswerMetadata_md.html +123 -0
- data/doc/docs/ApproveApi_md.html +293 -0
- data/doc/docs/CreatePromptRequest_md.html +123 -0
- data/doc/docs/Error_md.html +123 -0
- data/doc/docs/PromptAnswer_md.html +123 -0
- data/doc/docs/PromptMetadata_md.html +123 -0
- data/doc/docs/PromptStatus_md.html +123 -0
- data/doc/docs/Prompt_md.html +123 -0
- 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/git_push_sh.html +157 -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 +141 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +141 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +229 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +1036 -0
- data/docs/AnswerMetadata.md +1 -1
- data/docs/CreatePromptRequest.md +3 -3
- data/docs/Prompt.md +3 -3
- data/docs/PromptAnswer.md +1 -1
- data/docs/PromptMetadata.md +2 -2
- data/docs/PromptStatus.md +1 -0
- data/lib/approveapi_swagger/api/approve_api.rb +1 -0
- data/lib/approveapi_swagger/models/answer_metadata.rb +15 -13
- data/lib/approveapi_swagger/models/create_prompt_request.rb +35 -33
- data/lib/approveapi_swagger/models/error.rb +2 -0
- data/lib/approveapi_swagger/models/prompt.rb +33 -26
- data/lib/approveapi_swagger/models/prompt_answer.rb +18 -16
- data/lib/approveapi_swagger/models/prompt_metadata.rb +26 -24
- data/lib/approveapi_swagger/models/prompt_status.rb +21 -4
- data/lib/approveapi_swagger/version.rb +1 -1
- data/pkg/approveapi_swagger-1.0.2.gem +0 -0
- metadata +78 -7
- data/pkg/approveapi_swagger-1.0.1.gem +0 -0
@@ -0,0 +1,123 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>PromptAnswer - 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/jquery.js"></script>
|
15
|
+
<script src="../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="file">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
<div class="nav-section">
|
57
|
+
<h3>Table of Contents</h3>
|
58
|
+
|
59
|
+
<ul class="link-list" role="directory">
|
60
|
+
<li><a href="#label-ApproveAPISwagger-3A-3APromptAnswer">ApproveAPISwagger::PromptAnswer</a>
|
61
|
+
<li><a href="#label-Properties">Properties</a>
|
62
|
+
</ul>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
<div id="project-metadata">
|
67
|
+
<div id="fileindex-section" class="nav-section">
|
68
|
+
<h3>Pages</h3>
|
69
|
+
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="../Gemfile.html">Gemfile</a>
|
73
|
+
|
74
|
+
<li><a href="../Gemfile_lock.html">Gemfile.lock</a>
|
75
|
+
|
76
|
+
<li><a href="../README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="../Rakefile.html">Rakefile</a>
|
79
|
+
|
80
|
+
<li><a href="../approveapi_swagger_gemspec.html">approveapi_swagger.gemspec</a>
|
81
|
+
|
82
|
+
<li><a href="../docs/AnswerMetadata_md.html">AnswerMetadata</a>
|
83
|
+
|
84
|
+
<li><a href="../docs/ApproveApi_md.html">ApproveApi</a>
|
85
|
+
|
86
|
+
<li><a href="../docs/CreatePromptRequest_md.html">CreatePromptRequest</a>
|
87
|
+
|
88
|
+
<li><a href="../docs/Error_md.html">Error</a>
|
89
|
+
|
90
|
+
<li><a href="../docs/Prompt_md.html">Prompt</a>
|
91
|
+
|
92
|
+
<li><a href="../docs/PromptAnswer_md.html">PromptAnswer</a>
|
93
|
+
|
94
|
+
<li><a href="../docs/PromptMetadata_md.html">PromptMetadata</a>
|
95
|
+
|
96
|
+
<li><a href="../docs/PromptStatus_md.html">PromptStatus</a>
|
97
|
+
|
98
|
+
<li><a href="../git_push_sh.html">git_push.sh</a>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</nav>
|
105
|
+
|
106
|
+
<main role="main" aria-label="Page docs/PromptAnswer.md">
|
107
|
+
|
108
|
+
<h1 id="label-ApproveAPISwagger-3A-3APromptAnswer"><a href="../ApproveAPISwagger/PromptAnswer.html"><code>ApproveAPISwagger::PromptAnswer</code></a><span><a href="#label-ApproveAPISwagger-3A-3APromptAnswer">¶</a> <a href="#top">↑</a></span></h1>
|
109
|
+
|
110
|
+
<h2 id="label-Properties">Properties<span><a href="#label-Properties">¶</a> <a href="#top">↑</a></span></h2>
|
111
|
+
|
112
|
+
<p>Name | Type | Description | Notes ———— | ————- | ————- | ————- <strong>time</strong> | <strong>Float</strong> | The unix timestamp when the user answered the prompt. | <strong>result</strong> | <strong>BOOLEAN</strong> | The user's answer to whether or not they approve this prompt. | <strong>metadata</strong> | <a href="AnswerMetadata.md">AnswerMetadata</a> | | [optional]</p>
|
113
|
+
|
114
|
+
</main>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<footer id="validator-badges" role="contentinfo">
|
119
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
120
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
121
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
122
|
+
</footer>
|
123
|
+
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>PromptMetadata - 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/jquery.js"></script>
|
15
|
+
<script src="../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="file">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
<div class="nav-section">
|
57
|
+
<h3>Table of Contents</h3>
|
58
|
+
|
59
|
+
<ul class="link-list" role="directory">
|
60
|
+
<li><a href="#label-ApproveAPISwagger-3A-3APromptMetadata">ApproveAPISwagger::PromptMetadata</a>
|
61
|
+
<li><a href="#label-Properties">Properties</a>
|
62
|
+
</ul>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
<div id="project-metadata">
|
67
|
+
<div id="fileindex-section" class="nav-section">
|
68
|
+
<h3>Pages</h3>
|
69
|
+
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="../Gemfile.html">Gemfile</a>
|
73
|
+
|
74
|
+
<li><a href="../Gemfile_lock.html">Gemfile.lock</a>
|
75
|
+
|
76
|
+
<li><a href="../README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="../Rakefile.html">Rakefile</a>
|
79
|
+
|
80
|
+
<li><a href="../approveapi_swagger_gemspec.html">approveapi_swagger.gemspec</a>
|
81
|
+
|
82
|
+
<li><a href="../docs/AnswerMetadata_md.html">AnswerMetadata</a>
|
83
|
+
|
84
|
+
<li><a href="../docs/ApproveApi_md.html">ApproveApi</a>
|
85
|
+
|
86
|
+
<li><a href="../docs/CreatePromptRequest_md.html">CreatePromptRequest</a>
|
87
|
+
|
88
|
+
<li><a href="../docs/Error_md.html">Error</a>
|
89
|
+
|
90
|
+
<li><a href="../docs/Prompt_md.html">Prompt</a>
|
91
|
+
|
92
|
+
<li><a href="../docs/PromptAnswer_md.html">PromptAnswer</a>
|
93
|
+
|
94
|
+
<li><a href="../docs/PromptMetadata_md.html">PromptMetadata</a>
|
95
|
+
|
96
|
+
<li><a href="../docs/PromptStatus_md.html">PromptStatus</a>
|
97
|
+
|
98
|
+
<li><a href="../git_push_sh.html">git_push.sh</a>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</nav>
|
105
|
+
|
106
|
+
<main role="main" aria-label="Page docs/PromptMetadata.md">
|
107
|
+
|
108
|
+
<h1 id="label-ApproveAPISwagger-3A-3APromptMetadata"><a href="../ApproveAPISwagger/PromptMetadata.html"><code>ApproveAPISwagger::PromptMetadata</code></a><span><a href="#label-ApproveAPISwagger-3A-3APromptMetadata">¶</a> <a href="#top">↑</a></span></h1>
|
109
|
+
|
110
|
+
<h2 id="label-Properties">Properties<span><a href="#label-Properties">¶</a> <a href="#top">↑</a></span></h2>
|
111
|
+
|
112
|
+
<p>Name | Type | Description | Notes ———— | ————- | ————- | ————- <strong>time</strong> | <strong>String</strong> | The date/time of the action. | [optional] <strong>operating_system</strong> | <strong>String</strong> | The operating system initiating the action, i.e. Mac OS X. | [optional] <strong>ip_address</strong> | <strong>String</strong> | The IP address of the computer initiating the action. | [optional] <strong>location</strong> | <strong>String</strong> | The physical location, like Oakland, CA, of the action. | [optional] <strong>browser</strong> | <strong>String</strong> | The web browser initiating the action, i.e. Chrome. | [optional]</p>
|
113
|
+
|
114
|
+
</main>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<footer id="validator-badges" role="contentinfo">
|
119
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
120
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
121
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
122
|
+
</footer>
|
123
|
+
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>PromptStatus - 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/jquery.js"></script>
|
15
|
+
<script src="../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="file">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
<div class="nav-section">
|
57
|
+
<h3>Table of Contents</h3>
|
58
|
+
|
59
|
+
<ul class="link-list" role="directory">
|
60
|
+
<li><a href="#label-ApproveAPISwagger-3A-3APromptStatus">ApproveAPISwagger::PromptStatus</a>
|
61
|
+
<li><a href="#label-Properties">Properties</a>
|
62
|
+
</ul>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
<div id="project-metadata">
|
67
|
+
<div id="fileindex-section" class="nav-section">
|
68
|
+
<h3>Pages</h3>
|
69
|
+
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="../Gemfile.html">Gemfile</a>
|
73
|
+
|
74
|
+
<li><a href="../Gemfile_lock.html">Gemfile.lock</a>
|
75
|
+
|
76
|
+
<li><a href="../README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="../Rakefile.html">Rakefile</a>
|
79
|
+
|
80
|
+
<li><a href="../approveapi_swagger_gemspec.html">approveapi_swagger.gemspec</a>
|
81
|
+
|
82
|
+
<li><a href="../docs/AnswerMetadata_md.html">AnswerMetadata</a>
|
83
|
+
|
84
|
+
<li><a href="../docs/ApproveApi_md.html">ApproveApi</a>
|
85
|
+
|
86
|
+
<li><a href="../docs/CreatePromptRequest_md.html">CreatePromptRequest</a>
|
87
|
+
|
88
|
+
<li><a href="../docs/Error_md.html">Error</a>
|
89
|
+
|
90
|
+
<li><a href="../docs/Prompt_md.html">Prompt</a>
|
91
|
+
|
92
|
+
<li><a href="../docs/PromptAnswer_md.html">PromptAnswer</a>
|
93
|
+
|
94
|
+
<li><a href="../docs/PromptMetadata_md.html">PromptMetadata</a>
|
95
|
+
|
96
|
+
<li><a href="../docs/PromptStatus_md.html">PromptStatus</a>
|
97
|
+
|
98
|
+
<li><a href="../git_push_sh.html">git_push.sh</a>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</nav>
|
105
|
+
|
106
|
+
<main role="main" aria-label="Page docs/PromptStatus.md">
|
107
|
+
|
108
|
+
<h1 id="label-ApproveAPISwagger-3A-3APromptStatus"><a href="../ApproveAPISwagger/PromptStatus.html"><code>ApproveAPISwagger::PromptStatus</code></a><span><a href="#label-ApproveAPISwagger-3A-3APromptStatus">¶</a> <a href="#top">↑</a></span></h1>
|
109
|
+
|
110
|
+
<h2 id="label-Properties">Properties<span><a href="#label-Properties">¶</a> <a href="#top">↑</a></span></h2>
|
111
|
+
|
112
|
+
<p>Name | Type | Description | Notes ———— | ————- | ————- | ————- <strong>is_answered</strong> | <strong>BOOLEAN</strong> | Whether the prompt has been answered or not. |</p>
|
113
|
+
|
114
|
+
</main>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<footer id="validator-badges" role="contentinfo">
|
119
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
120
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
121
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
122
|
+
</footer>
|
123
|
+
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Prompt - 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/jquery.js"></script>
|
15
|
+
<script src="../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="file">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
<div class="nav-section">
|
57
|
+
<h3>Table of Contents</h3>
|
58
|
+
|
59
|
+
<ul class="link-list" role="directory">
|
60
|
+
<li><a href="#label-ApproveAPISwagger-3A-3APrompt">ApproveAPISwagger::Prompt</a>
|
61
|
+
<li><a href="#label-Properties">Properties</a>
|
62
|
+
</ul>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
<div id="project-metadata">
|
67
|
+
<div id="fileindex-section" class="nav-section">
|
68
|
+
<h3>Pages</h3>
|
69
|
+
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="../Gemfile.html">Gemfile</a>
|
73
|
+
|
74
|
+
<li><a href="../Gemfile_lock.html">Gemfile.lock</a>
|
75
|
+
|
76
|
+
<li><a href="../README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="../Rakefile.html">Rakefile</a>
|
79
|
+
|
80
|
+
<li><a href="../approveapi_swagger_gemspec.html">approveapi_swagger.gemspec</a>
|
81
|
+
|
82
|
+
<li><a href="../docs/AnswerMetadata_md.html">AnswerMetadata</a>
|
83
|
+
|
84
|
+
<li><a href="../docs/ApproveApi_md.html">ApproveApi</a>
|
85
|
+
|
86
|
+
<li><a href="../docs/CreatePromptRequest_md.html">CreatePromptRequest</a>
|
87
|
+
|
88
|
+
<li><a href="../docs/Error_md.html">Error</a>
|
89
|
+
|
90
|
+
<li><a href="../docs/Prompt_md.html">Prompt</a>
|
91
|
+
|
92
|
+
<li><a href="../docs/PromptAnswer_md.html">PromptAnswer</a>
|
93
|
+
|
94
|
+
<li><a href="../docs/PromptMetadata_md.html">PromptMetadata</a>
|
95
|
+
|
96
|
+
<li><a href="../docs/PromptStatus_md.html">PromptStatus</a>
|
97
|
+
|
98
|
+
<li><a href="../git_push_sh.html">git_push.sh</a>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</nav>
|
105
|
+
|
106
|
+
<main role="main" aria-label="Page docs/Prompt.md">
|
107
|
+
|
108
|
+
<h1 id="label-ApproveAPISwagger-3A-3APrompt"><a href="../ApproveAPISwagger/Prompt.html"><code>ApproveAPISwagger::Prompt</code></a><span><a href="#label-ApproveAPISwagger-3A-3APrompt">¶</a> <a href="#top">↑</a></span></h1>
|
109
|
+
|
110
|
+
<h2 id="label-Properties">Properties<span><a href="#label-Properties">¶</a> <a href="#top">↑</a></span></h2>
|
111
|
+
|
112
|
+
<p>Name | Type | Description | Notes ———— | ————- | ————- | ————- <strong>answer</strong> | <a href="PromptAnswer.md">PromptAnswer</a> | | [optional] <strong>sent_at</strong> | <strong>Float</strong> | The unix timestamp when this prompt was sent. | <strong>id</strong> | <strong>String</strong> | A unique id for this prompt. | <strong>metadata</strong> | <a href="PromptMetadata.md">PromptMetadata</a> | | [optional]</p>
|
113
|
+
|
114
|
+
</main>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<footer id="validator-badges" role="contentinfo">
|
119
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
120
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
121
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
122
|
+
</footer>
|
123
|
+
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,157 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>git_push.sh - 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/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="file">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="./index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<div id="project-metadata">
|
58
|
+
<div id="fileindex-section" class="nav-section">
|
59
|
+
<h3>Pages</h3>
|
60
|
+
|
61
|
+
<ul class="link-list">
|
62
|
+
|
63
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
64
|
+
|
65
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
66
|
+
|
67
|
+
<li><a href="./README_md.html">README</a>
|
68
|
+
|
69
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
70
|
+
|
71
|
+
<li><a href="./approveapi_swagger_gemspec.html">approveapi_swagger.gemspec</a>
|
72
|
+
|
73
|
+
<li><a href="./docs/AnswerMetadata_md.html">AnswerMetadata</a>
|
74
|
+
|
75
|
+
<li><a href="./docs/ApproveApi_md.html">ApproveApi</a>
|
76
|
+
|
77
|
+
<li><a href="./docs/CreatePromptRequest_md.html">CreatePromptRequest</a>
|
78
|
+
|
79
|
+
<li><a href="./docs/Error_md.html">Error</a>
|
80
|
+
|
81
|
+
<li><a href="./docs/Prompt_md.html">Prompt</a>
|
82
|
+
|
83
|
+
<li><a href="./docs/PromptAnswer_md.html">PromptAnswer</a>
|
84
|
+
|
85
|
+
<li><a href="./docs/PromptMetadata_md.html">PromptMetadata</a>
|
86
|
+
|
87
|
+
<li><a href="./docs/PromptStatus_md.html">PromptStatus</a>
|
88
|
+
|
89
|
+
<li><a href="./git_push_sh.html">git_push.sh</a>
|
90
|
+
|
91
|
+
</ul>
|
92
|
+
</div>
|
93
|
+
|
94
|
+
</div>
|
95
|
+
</nav>
|
96
|
+
|
97
|
+
<main role="main" aria-label="Page git_push.sh">
|
98
|
+
|
99
|
+
<p>#!/bin/sh # # Generated by: <a href="https://openapi-generator.tech">openapi-generator.tech</a> # # ref: <a href="https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line">help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line</a>/ # # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl “minor update”</p>
|
100
|
+
|
101
|
+
<p>git_user_id=$1 git_repo_id=$2 release_note=$3</p>
|
102
|
+
|
103
|
+
<p>if [ “$git_user_id” = “” ]; then</p>
|
104
|
+
|
105
|
+
<pre class="ruby"><span class="ruby-identifier">git_user_id</span>=<span class="ruby-string">"GIT_USER_ID"</span>
|
106
|
+
<span class="ruby-identifier">echo</span> <span class="ruby-string">"[INFO] No command line input provided. Set \$git_user_id to $git_user_id"</span>
|
107
|
+
</pre>
|
108
|
+
|
109
|
+
<p>fi</p>
|
110
|
+
|
111
|
+
<p>if [ “$git_repo_id” = “” ]; then</p>
|
112
|
+
|
113
|
+
<pre class="ruby"><span class="ruby-identifier">git_repo_id</span>=<span class="ruby-string">"GIT_REPO_ID"</span>
|
114
|
+
<span class="ruby-identifier">echo</span> <span class="ruby-string">"[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"</span>
|
115
|
+
</pre>
|
116
|
+
|
117
|
+
<p>fi</p>
|
118
|
+
|
119
|
+
<p>if [ “$release_note” = “” ]; then</p>
|
120
|
+
|
121
|
+
<pre class="ruby"><span class="ruby-identifier">release_note</span>=<span class="ruby-string">"Minor update"</span>
|
122
|
+
<span class="ruby-identifier">echo</span> <span class="ruby-string">"[INFO] No command line input provided. Set \$release_note to $release_note"</span>
|
123
|
+
</pre>
|
124
|
+
|
125
|
+
<p>fi</p>
|
126
|
+
|
127
|
+
<p># Initialize the local directory as a Git repository git init</p>
|
128
|
+
|
129
|
+
<p># Adds the files in the local repository and stages them for commit. git add .</p>
|
130
|
+
|
131
|
+
<p># Commits the tracked changes and prepares them to be pushed to a remote repository. git commit -m “$release_note”</p>
|
132
|
+
|
133
|
+
<p># Sets the new remote git_remote=`git remote` if [ “$git_remote” = “” ]; then # git remote not defined</p>
|
134
|
+
|
135
|
+
<pre>if [ "$GIT_TOKEN" = "" ]; then
|
136
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
137
|
+
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
138
|
+
else
|
139
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
140
|
+
fi</pre>
|
141
|
+
|
142
|
+
<p>fi</p>
|
143
|
+
|
144
|
+
<p>git pull origin master</p>
|
145
|
+
|
146
|
+
<p># Pushes (Forces) the changes in the local repository up to the remote repository echo “Git pushing to <a href="https://github.com/${git_user_id}/${git_repo_id}.git">github.com/${git_user_id}/${git_repo_id}.git</a>” git push origin master 2>&1 | grep -v 'To https'</p>
|
147
|
+
|
148
|
+
</main>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
<footer id="validator-badges" role="contentinfo">
|
153
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
154
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
155
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
156
|
+
</footer>
|
157
|
+
|
data/doc/images/add.png
ADDED
Binary file
|
Binary file
|