shep 0.1.0.pre.alpha0

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.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/Copyright.txt +8 -0
  3. data/LICENSE.txt +697 -0
  4. data/README.md +101 -0
  5. data/Rakefile +52 -0
  6. data/doc/Shep/Entity/Account.html +193 -0
  7. data/doc/Shep/Entity/Context.html +165 -0
  8. data/doc/Shep/Entity/CustomEmoji.html +171 -0
  9. data/doc/Shep/Entity/MediaAttachment.html +175 -0
  10. data/doc/Shep/Entity/Notification.html +171 -0
  11. data/doc/Shep/Entity/Status.html +217 -0
  12. data/doc/Shep/Entity/StatusSource.html +167 -0
  13. data/doc/Shep/Entity/Status_Application.html +167 -0
  14. data/doc/Shep/Entity/Status_Mention.html +169 -0
  15. data/doc/Shep/Entity/Status_Tag.html +165 -0
  16. data/doc/Shep/Entity.html +1457 -0
  17. data/doc/Shep/Error/Caller.html +147 -0
  18. data/doc/Shep/Error/Http.html +329 -0
  19. data/doc/Shep/Error/Remote.html +143 -0
  20. data/doc/Shep/Error/Server.html +147 -0
  21. data/doc/Shep/Error/Type.html +233 -0
  22. data/doc/Shep/Error.html +149 -0
  23. data/doc/Shep/Session.html +4094 -0
  24. data/doc/Shep.html +128 -0
  25. data/doc/_index.html +300 -0
  26. data/doc/class_list.html +51 -0
  27. data/doc/css/common.css +1 -0
  28. data/doc/css/full_list.css +58 -0
  29. data/doc/css/style.css +497 -0
  30. data/doc/file.README.html +159 -0
  31. data/doc/file_list.html +56 -0
  32. data/doc/frames.html +17 -0
  33. data/doc/index.html +300 -0
  34. data/doc/js/app.js +314 -0
  35. data/doc/js/full_list.js +216 -0
  36. data/doc/js/jquery.js +4 -0
  37. data/doc/method_list.html +387 -0
  38. data/doc/top-level-namespace.html +110 -0
  39. data/lib/shep/entities.rb +164 -0
  40. data/lib/shep/entity_base.rb +378 -0
  41. data/lib/shep/exceptions.rb +78 -0
  42. data/lib/shep/session.rb +970 -0
  43. data/lib/shep/typeboxes.rb +180 -0
  44. data/lib/shep.rb +22 -0
  45. data/run_rake_test.example.sh +46 -0
  46. data/shep.gemspec +28 -0
  47. data/spec/data/smallimg.jpg +0 -0
  48. data/spec/data/smallish.jpg +0 -0
  49. data/spec/entity_common.rb +120 -0
  50. data/spec/entity_t1_spec.rb +168 -0
  51. data/spec/entity_t2_spec.rb +123 -0
  52. data/spec/entity_t3_spec.rb +30 -0
  53. data/spec/json_objects/account.1.json +25 -0
  54. data/spec/json_objects/account.2.json +36 -0
  55. data/spec/json_objects/status.1.json +85 -0
  56. data/spec/json_objects/status.2.json +59 -0
  57. data/spec/json_objects/status.3.json +95 -0
  58. data/spec/json_objects/status.4.json +95 -0
  59. data/spec/json_objects/status.5.json +74 -0
  60. data/spec/json_objects/status.6.json +140 -0
  61. data/spec/json_objects/status.7.json +84 -0
  62. data/spec/session_reader_1_unauth_spec.rb +366 -0
  63. data/spec/session_reader_2_auth_spec.rb +96 -0
  64. data/spec/session_writer_spec.rb +183 -0
  65. data/spec/spec_helper.rb +73 -0
  66. data/yard_helper.rb +30 -0
  67. metadata +154 -0
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Shep::Entity::StatusSource
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Shep::Entity::StatusSource";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Shep.html" title="Shep (module)">Shep</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Entity</a></span></span>
41
+ &raquo;
42
+ <span class="title">StatusSource</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Shep::Entity::StatusSource
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></li>
78
+
79
+ <li class="next">Shep::Entity::StatusSource</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/shep/entities.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Ruby object representing a Mastodon <code>StatusSource</code> object:</p>
108
+ <ul><li>
109
+ <p>id (String)</p>
110
+ </li><li>
111
+ <p>text (String)</p>
112
+ </li><li>
113
+ <p>spoiler_text (String)</p>
114
+ </li></ul>
115
+
116
+ <p>See <code>Shep::Entity</code> for an overview.</p>
117
+
118
+
119
+ </div>
120
+ </div>
121
+ <div class="tags">
122
+
123
+
124
+ <p class="tag_title">See Also:</p>
125
+ <ul class="see">
126
+
127
+ <li><a href="https://docs.joinmastodon.org/entities/StatusSource/" target="_parent" title="https://docs.joinmastodon.org/entities/StatusSource/">https://docs.joinmastodon.org/entities/StatusSource/</a></li>
128
+
129
+ </ul>
130
+
131
+ </div>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <h2>Method Summary</h2>
146
+
147
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></h3>
148
+ <p class="inherited"><span class='object_link'><a href="../Entity.html#==-instance_method" title="Shep::Entity#== (method)">#==</a></span>, <span class='object_link'><a href="../Entity.html#[]-instance_method" title="Shep::Entity#[] (method)">#[]</a></span>, <span class='object_link'><a href="../Entity.html#[]=-instance_method" title="Shep::Entity#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="../Entity.html#fields-class_method" title="Shep::Entity.fields (method)">fields</a></span>, <span class='object_link'><a href="../Entity.html#from-class_method" title="Shep::Entity.from (method)">from</a></span>, <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Entity.html#print-instance_method" title="Shep::Entity#print (method)">#print</a></span>, <span class='object_link'><a href="../Entity.html#set_from_hash!-instance_method" title="Shep::Entity#set_from_hash! (method)">#set_from_hash!</a></span>, <span class='object_link'><a href="../Entity.html#to_h-instance_method" title="Shep::Entity#to_h (method)">#to_h</a></span>, <span class='object_link'><a href="../Entity.html#to_long_s-instance_method" title="Shep::Entity#to_long_s (method)">#to_long_s</a></span>, <span class='object_link'><a href="../Entity.html#to_s-instance_method" title="Shep::Entity#to_s (method)">#to_s</a></span>, <span class='object_link'><a href="../Entity.html#with-class_method" title="Shep::Entity.with (method)">with</a></span></p>
149
+ <div id="constructor_details" class="method_details_list">
150
+ <h2>Constructor Details</h2>
151
+
152
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">Shep::Entity</a></span></p>
153
+
154
+ </div>
155
+
156
+
157
+ </div>
158
+
159
+ <div id="footer">
160
+ Generated on Sun Jun 4 13:40:32 2023 by
161
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
162
+ 0.9.34 (ruby-3.1.0).
163
+ </div>
164
+
165
+ </div>
166
+ </body>
167
+ </html>
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Shep::Entity::Status_Application
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Shep::Entity::Status_Application";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Shep.html" title="Shep (module)">Shep</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Entity</a></span></span>
41
+ &raquo;
42
+ <span class="title">Status_Application</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Shep::Entity::Status_Application
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></li>
78
+
79
+ <li class="next">Shep::Entity::Status_Application</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/shep/entities.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Ruby object representing a Mastodon <code>Status::Application</code> object:</p>
108
+ <ul><li>
109
+ <p>name (String)</p>
110
+ </li><li>
111
+ <p>website (URI)</p>
112
+ </li></ul>
113
+
114
+ <p>See <code>Shep::Entity</code> for an overview.</p>
115
+
116
+ <p>The specification describes this as a Hash object with arbitrary fields. <code>Shep</code> doesn’t really support that (yet) so we only give you the expected fields.</p>
117
+
118
+
119
+ </div>
120
+ </div>
121
+ <div class="tags">
122
+
123
+
124
+ <p class="tag_title">See Also:</p>
125
+ <ul class="see">
126
+
127
+ <li><a href="https://docs.joinmastodon.org/entities/Status/#application" target="_parent" title="https://docs.joinmastodon.org/entities/Status/#application">https://docs.joinmastodon.org/entities/Status/#application</a></li>
128
+
129
+ </ul>
130
+
131
+ </div>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <h2>Method Summary</h2>
146
+
147
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></h3>
148
+ <p class="inherited"><span class='object_link'><a href="../Entity.html#==-instance_method" title="Shep::Entity#== (method)">#==</a></span>, <span class='object_link'><a href="../Entity.html#[]-instance_method" title="Shep::Entity#[] (method)">#[]</a></span>, <span class='object_link'><a href="../Entity.html#[]=-instance_method" title="Shep::Entity#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="../Entity.html#fields-class_method" title="Shep::Entity.fields (method)">fields</a></span>, <span class='object_link'><a href="../Entity.html#from-class_method" title="Shep::Entity.from (method)">from</a></span>, <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Entity.html#print-instance_method" title="Shep::Entity#print (method)">#print</a></span>, <span class='object_link'><a href="../Entity.html#set_from_hash!-instance_method" title="Shep::Entity#set_from_hash! (method)">#set_from_hash!</a></span>, <span class='object_link'><a href="../Entity.html#to_h-instance_method" title="Shep::Entity#to_h (method)">#to_h</a></span>, <span class='object_link'><a href="../Entity.html#to_long_s-instance_method" title="Shep::Entity#to_long_s (method)">#to_long_s</a></span>, <span class='object_link'><a href="../Entity.html#to_s-instance_method" title="Shep::Entity#to_s (method)">#to_s</a></span>, <span class='object_link'><a href="../Entity.html#with-class_method" title="Shep::Entity.with (method)">with</a></span></p>
149
+ <div id="constructor_details" class="method_details_list">
150
+ <h2>Constructor Details</h2>
151
+
152
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">Shep::Entity</a></span></p>
153
+
154
+ </div>
155
+
156
+
157
+ </div>
158
+
159
+ <div id="footer">
160
+ Generated on Sun Jun 4 13:40:32 2023 by
161
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
162
+ 0.9.34 (ruby-3.1.0).
163
+ </div>
164
+
165
+ </div>
166
+ </body>
167
+ </html>
@@ -0,0 +1,169 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Shep::Entity::Status_Mention
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Shep::Entity::Status_Mention";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Shep.html" title="Shep (module)">Shep</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Entity</a></span></span>
41
+ &raquo;
42
+ <span class="title">Status_Mention</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Shep::Entity::Status_Mention
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></li>
78
+
79
+ <li class="next">Shep::Entity::Status_Mention</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/shep/entities.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Ruby object representing a Mastodon <code>Status::Mention</code> object:</p>
108
+ <ul><li>
109
+ <p>id (String)</p>
110
+ </li><li>
111
+ <p>username (String)</p>
112
+ </li><li>
113
+ <p>url (URI)</p>
114
+ </li><li>
115
+ <p>acct (String)</p>
116
+ </li></ul>
117
+
118
+ <p>See <code>Shep::Entity</code> for an overview.</p>
119
+
120
+
121
+ </div>
122
+ </div>
123
+ <div class="tags">
124
+
125
+
126
+ <p class="tag_title">See Also:</p>
127
+ <ul class="see">
128
+
129
+ <li><a href="https://docs.joinmastodon.org/entities/Status/#Mention" target="_parent" title="https://docs.joinmastodon.org/entities/Status/#Mention">https://docs.joinmastodon.org/entities/Status/#Mention</a></li>
130
+
131
+ </ul>
132
+
133
+ </div>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <h2>Method Summary</h2>
148
+
149
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></h3>
150
+ <p class="inherited"><span class='object_link'><a href="../Entity.html#==-instance_method" title="Shep::Entity#== (method)">#==</a></span>, <span class='object_link'><a href="../Entity.html#[]-instance_method" title="Shep::Entity#[] (method)">#[]</a></span>, <span class='object_link'><a href="../Entity.html#[]=-instance_method" title="Shep::Entity#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="../Entity.html#fields-class_method" title="Shep::Entity.fields (method)">fields</a></span>, <span class='object_link'><a href="../Entity.html#from-class_method" title="Shep::Entity.from (method)">from</a></span>, <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Entity.html#print-instance_method" title="Shep::Entity#print (method)">#print</a></span>, <span class='object_link'><a href="../Entity.html#set_from_hash!-instance_method" title="Shep::Entity#set_from_hash! (method)">#set_from_hash!</a></span>, <span class='object_link'><a href="../Entity.html#to_h-instance_method" title="Shep::Entity#to_h (method)">#to_h</a></span>, <span class='object_link'><a href="../Entity.html#to_long_s-instance_method" title="Shep::Entity#to_long_s (method)">#to_long_s</a></span>, <span class='object_link'><a href="../Entity.html#to_s-instance_method" title="Shep::Entity#to_s (method)">#to_s</a></span>, <span class='object_link'><a href="../Entity.html#with-class_method" title="Shep::Entity.with (method)">with</a></span></p>
151
+ <div id="constructor_details" class="method_details_list">
152
+ <h2>Constructor Details</h2>
153
+
154
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">Shep::Entity</a></span></p>
155
+
156
+ </div>
157
+
158
+
159
+ </div>
160
+
161
+ <div id="footer">
162
+ Generated on Sun Jun 4 13:40:32 2023 by
163
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
164
+ 0.9.34 (ruby-3.1.0).
165
+ </div>
166
+
167
+ </div>
168
+ </body>
169
+ </html>
@@ -0,0 +1,165 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Shep::Entity::Status_Tag
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Shep::Entity::Status_Tag";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Shep.html" title="Shep (module)">Shep</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Entity</a></span></span>
41
+ &raquo;
42
+ <span class="title">Status_Tag</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Shep::Entity::Status_Tag
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></li>
78
+
79
+ <li class="next">Shep::Entity::Status_Tag</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/shep/entities.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Ruby object representing a Mastodon <code>Status::Tag</code> object:</p>
108
+ <ul><li>
109
+ <p>name (String)</p>
110
+ </li><li>
111
+ <p>url (URI)</p>
112
+ </li></ul>
113
+
114
+ <p>See <code>Shep::Entity</code> for an overview.</p>
115
+
116
+
117
+ </div>
118
+ </div>
119
+ <div class="tags">
120
+
121
+
122
+ <p class="tag_title">See Also:</p>
123
+ <ul class="see">
124
+
125
+ <li><a href="https://docs.joinmastodon.org/entities/Status/#Tag" target="_parent" title="https://docs.joinmastodon.org/entities/Status/#Tag">https://docs.joinmastodon.org/entities/Status/#Tag</a></li>
126
+
127
+ </ul>
128
+
129
+ </div>
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+ <h2>Method Summary</h2>
144
+
145
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Entity.html" title="Shep::Entity (class)">Shep::Entity</a></span></h3>
146
+ <p class="inherited"><span class='object_link'><a href="../Entity.html#==-instance_method" title="Shep::Entity#== (method)">#==</a></span>, <span class='object_link'><a href="../Entity.html#[]-instance_method" title="Shep::Entity#[] (method)">#[]</a></span>, <span class='object_link'><a href="../Entity.html#[]=-instance_method" title="Shep::Entity#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="../Entity.html#fields-class_method" title="Shep::Entity.fields (method)">fields</a></span>, <span class='object_link'><a href="../Entity.html#from-class_method" title="Shep::Entity.from (method)">from</a></span>, <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Entity.html#print-instance_method" title="Shep::Entity#print (method)">#print</a></span>, <span class='object_link'><a href="../Entity.html#set_from_hash!-instance_method" title="Shep::Entity#set_from_hash! (method)">#set_from_hash!</a></span>, <span class='object_link'><a href="../Entity.html#to_h-instance_method" title="Shep::Entity#to_h (method)">#to_h</a></span>, <span class='object_link'><a href="../Entity.html#to_long_s-instance_method" title="Shep::Entity#to_long_s (method)">#to_long_s</a></span>, <span class='object_link'><a href="../Entity.html#to_s-instance_method" title="Shep::Entity#to_s (method)">#to_s</a></span>, <span class='object_link'><a href="../Entity.html#with-class_method" title="Shep::Entity.with (method)">with</a></span></p>
147
+ <div id="constructor_details" class="method_details_list">
148
+ <h2>Constructor Details</h2>
149
+
150
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Entity.html#initialize-instance_method" title="Shep::Entity#initialize (method)">Shep::Entity</a></span></p>
151
+
152
+ </div>
153
+
154
+
155
+ </div>
156
+
157
+ <div id="footer">
158
+ Generated on Sun Jun 4 13:40:32 2023 by
159
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
160
+ 0.9.34 (ruby-3.1.0).
161
+ </div>
162
+
163
+ </div>
164
+ </body>
165
+ </html>