googlecal 0.1.0 → 0.1.1
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/.DS_Store +0 -0
- data/.gitignore +1 -1
- data/.travis.yml +4 -1
- data/README.md +5 -2
- data/bin/console +1 -0
- data/client_secret.json.enc +2 -0
- data/docs/Gemfile.html +98 -0
- data/docs/Gemfile_lock.html +187 -0
- data/docs/Googlecal.html +384 -0
- data/docs/Googlecal/Base.html +319 -0
- data/docs/Googlecal/GCalendar.html +265 -0
- data/docs/Googlecal/GEvent.html +418 -0
- data/docs/LICENSE.html +115 -0
- data/docs/Object.html +113 -0
- data/docs/README_md.html +161 -0
- data/docs/Rakefile.html +99 -0
- data/docs/bin/setup.html +99 -0
- data/docs/client_secret_json.html +96 -0
- data/docs/created.rid +19 -0
- data/docs/css/fonts.css +167 -0
- data/docs/css/rdoc.css +590 -0
- data/docs/fonts/Lato-Light.ttf +0 -0
- data/docs/fonts/Lato-LightItalic.ttf +0 -0
- data/docs/fonts/Lato-Regular.ttf +0 -0
- data/docs/fonts/Lato-RegularItalic.ttf +0 -0
- data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
- data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
- data/docs/googlecal_gemspec.html +126 -0
- data/docs/images/add.png +0 -0
- data/docs/images/arrow_up.png +0 -0
- data/docs/images/brick.png +0 -0
- data/docs/images/brick_link.png +0 -0
- data/docs/images/bug.png +0 -0
- data/docs/images/bullet_black.png +0 -0
- data/docs/images/bullet_toggle_minus.png +0 -0
- data/docs/images/bullet_toggle_plus.png +0 -0
- data/docs/images/date.png +0 -0
- data/docs/images/delete.png +0 -0
- data/docs/images/find.png +0 -0
- data/docs/images/loadingAnimation.gif +0 -0
- data/docs/images/macFFBgHack.png +0 -0
- data/docs/images/package.png +0 -0
- data/docs/images/page_green.png +0 -0
- data/docs/images/page_white_text.png +0 -0
- data/docs/images/page_white_width.png +0 -0
- data/docs/images/plugin.png +0 -0
- data/docs/images/ruby.png +0 -0
- data/docs/images/tag_blue.png +0 -0
- data/docs/images/tag_green.png +0 -0
- data/docs/images/transparent.png +0 -0
- data/docs/images/wrench.png +0 -0
- data/docs/images/wrench_orange.png +0 -0
- data/docs/images/zoom.png +0 -0
- data/docs/index.html +111 -0
- data/docs/js/darkfish.js +161 -0
- data/docs/js/jquery.js +4 -0
- data/docs/js/navigation.js +142 -0
- data/docs/js/navigation.js.gz +0 -0
- data/docs/js/search.js +109 -0
- data/docs/js/search_index.js +1 -0
- data/docs/js/search_index.js.gz +0 -0
- data/docs/js/searcher.js +228 -0
- data/docs/js/searcher.js.gz +0 -0
- data/docs/table_of_contents.html +191 -0
- data/lib/googlecal.rb +2 -157
- data/lib/googlecal/base.rb +191 -0
- data/lib/googlecal/gcalendar.rb +27 -0
- data/lib/googlecal/gevent.rb +97 -0
- data/lib/googlecal/version.rb +1 -1
- metadata +63 -1
@@ -0,0 +1,319 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Googlecal::Base - Googlecal</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../js/jquery.js"></script>
|
14
|
+
<script src="../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="class">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
58
|
+
<h3>Parent</h3>
|
59
|
+
|
60
|
+
|
61
|
+
<p class="link"><a href="../Object.html">Object</a>
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<div id="method-list-section" class="nav-section">
|
69
|
+
<h3>Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list" role="directory">
|
72
|
+
|
73
|
+
<li ><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li ><a href="#method-i-create_event">#create_event</a>
|
76
|
+
|
77
|
+
<li ><a href="#method-i-events">#events</a>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
</div>
|
83
|
+
</nav>
|
84
|
+
|
85
|
+
<main role="main" aria-labelledby="class-Googlecal::Base">
|
86
|
+
<h1 id="class-Googlecal::Base" class="class">
|
87
|
+
class Googlecal::Base
|
88
|
+
</h1>
|
89
|
+
|
90
|
+
<section class="description">
|
91
|
+
|
92
|
+
</section>
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<section class="constants-list">
|
104
|
+
<header>
|
105
|
+
<h3>Constants</h3>
|
106
|
+
</header>
|
107
|
+
<dl>
|
108
|
+
|
109
|
+
<dt id="OOB_URL">OOB_URL
|
110
|
+
|
111
|
+
<dd><p>TODO: not sure what this is for, needs documentation</p>
|
112
|
+
|
113
|
+
|
114
|
+
</dl>
|
115
|
+
</section>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<section class="attribute-method-details" class="method-section">
|
120
|
+
<header>
|
121
|
+
<h3>Attributes</h3>
|
122
|
+
</header>
|
123
|
+
|
124
|
+
|
125
|
+
<div id="attribute-i-credentials" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">credentials</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
<div id="attribute-i-default_calendar" class="method-detail">
|
139
|
+
<div class="method-heading attribute-method-heading">
|
140
|
+
<span class="method-name">default_calendar</span><span
|
141
|
+
class="attribute-access-type">[RW]</span>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div class="method-description">
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
</section>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
156
|
+
<header>
|
157
|
+
<h3>Public Class Methods</h3>
|
158
|
+
</header>
|
159
|
+
|
160
|
+
|
161
|
+
<div id="method-c-new" class="method-detail ">
|
162
|
+
|
163
|
+
<div class="method-heading">
|
164
|
+
<span class="method-name">new</span><span
|
165
|
+
class="method-args">(application_name, calendar_id = 'primary', authenticate_with_env = false, credentials_path = File.join(Dir.home, '.credentials',"calendar-ruby-quickstart.yaml"), client_secrets_path = 'client_secret.json', scope = Google::Apis::CalendarV3::AUTH_CALENDAR)</span>
|
166
|
+
|
167
|
+
<span class="method-click-advice">click to toggle source</span>
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
<div class="method-description">
|
173
|
+
|
174
|
+
<p>Initialize a new googlecal instance and authenticate with google with file
|
175
|
+
paths</p>
|
176
|
+
|
177
|
+
<h4 id="method-c-new-label-Attributes">Attributes<span><a href="#method-c-new-label-Attributes">¶</a> <a href="#top">↑</a></span></h4>
|
178
|
+
<ul><li>
|
179
|
+
<p><code>:application_name:</code> - Name of application in gooogle console
|
180
|
+
that you need to setup</p>
|
181
|
+
</li><li>
|
182
|
+
<p><code>:authenticate_with_env:</code> - Optionally authenticate with
|
183
|
+
enviroment variables instead of client_secrets_path</p>
|
184
|
+
</li><li>
|
185
|
+
<p><code>:credentials_path:</code> - The file path to loading credentials
|
186
|
+
path</p>
|
187
|
+
</li><li>
|
188
|
+
<p><code>:client_secrets_path:</code> - The file path to json file holding
|
189
|
+
client secrets</p>
|
190
|
+
</li><li>
|
191
|
+
<p><code>:scope:</code> -The access scope for the use of the google api
|
192
|
+
session</p>
|
193
|
+
</li></ul>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
<div class="method-source-code" id="new-source">
|
199
|
+
<pre><span class="ruby-comment"># File lib/googlecal/base.rb, line 20</span>
|
200
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">application_name</span>,
|
201
|
+
<span class="ruby-identifier">calendar_id</span> = <span class="ruby-string">'primary'</span>,
|
202
|
+
<span class="ruby-identifier">authenticate_with_env</span> = <span class="ruby-keyword">false</span>,
|
203
|
+
<span class="ruby-identifier">credentials_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">home</span>, <span class="ruby-string">'.credentials'</span>,<span class="ruby-string">"calendar-ruby-quickstart.yaml"</span>),
|
204
|
+
<span class="ruby-identifier">client_secrets_path</span> = <span class="ruby-string">'client_secret.json'</span>,
|
205
|
+
<span class="ruby-identifier">scope</span> = <span class="ruby-constant">Google</span><span class="ruby-operator">::</span><span class="ruby-constant">Apis</span><span class="ruby-operator">::</span><span class="ruby-constant">CalendarV3</span><span class="ruby-operator">::</span><span class="ruby-constant">AUTH_CALENDAR</span>)
|
206
|
+
<span class="ruby-comment"># authenticate with google</span>
|
207
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">authenticate_with_env</span>
|
208
|
+
<span class="ruby-comment"># set credentials</span>
|
209
|
+
<span class="ruby-ivar">@credentials</span> = <span class="ruby-identifier">authorize_with_env</span>(<span class="ruby-identifier">scope</span>)
|
210
|
+
<span class="ruby-keyword">else</span>
|
211
|
+
<span class="ruby-comment"># set credentials</span>
|
212
|
+
<span class="ruby-ivar">@credentials</span> = <span class="ruby-identifier">authorize</span>(<span class="ruby-identifier">credentials_path</span>, <span class="ruby-identifier">client_secrets_path</span>, <span class="ruby-identifier">scope</span>)
|
213
|
+
<span class="ruby-keyword">end</span>
|
214
|
+
<span class="ruby-identifier">@@calendar_service</span> = <span class="ruby-identifier">setup_calendar_service</span>(<span class="ruby-identifier">application_name</span>, <span class="ruby-ivar">@credentials</span>)
|
215
|
+
<span class="ruby-identifier">@@calendar_id</span> = <span class="ruby-identifier">calendar_id</span>
|
216
|
+
<span class="ruby-keyword">end</span></pre>
|
217
|
+
</div>
|
218
|
+
|
219
|
+
</div>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
</div>
|
225
|
+
|
226
|
+
|
227
|
+
</section>
|
228
|
+
|
229
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
230
|
+
<header>
|
231
|
+
<h3>Public Instance Methods</h3>
|
232
|
+
</header>
|
233
|
+
|
234
|
+
|
235
|
+
<div id="method-i-create_event" class="method-detail ">
|
236
|
+
|
237
|
+
<div class="method-heading">
|
238
|
+
<span class="method-name">create_event</span><span
|
239
|
+
class="method-args">(calendar_id = 'primary', **opts)</span>
|
240
|
+
|
241
|
+
<span class="method-click-advice">click to toggle source</span>
|
242
|
+
|
243
|
+
</div>
|
244
|
+
|
245
|
+
|
246
|
+
<div class="method-description">
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
<div class="method-source-code" id="create_event-source">
|
254
|
+
<pre><span class="ruby-comment"># File lib/googlecal/base.rb, line 43</span>
|
255
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_event</span>(<span class="ruby-identifier">calendar_id</span> = <span class="ruby-string">'primary'</span>, <span class="ruby-operator">**</span><span class="ruby-identifier">opts</span>)
|
256
|
+
<span class="ruby-identifier">event</span> = <span class="ruby-constant">Google</span><span class="ruby-operator">::</span><span class="ruby-constant">Apis</span><span class="ruby-operator">::</span><span class="ruby-constant">CalendarV3</span><span class="ruby-operator">::</span><span class="ruby-constant">Event</span>.<span class="ruby-identifier">new</span>(
|
257
|
+
<span class="ruby-identifier">summary</span><span class="ruby-operator">:</span> <span class="ruby-identifier">opts</span>[<span class="ruby-value">:summary</span>] <span class="ruby-operator">||</span> <span class="ruby-string">''</span>,
|
258
|
+
<span class="ruby-identifier">location</span><span class="ruby-operator">:</span> <span class="ruby-identifier">opts</span>[<span class="ruby-value">:location</span>] <span class="ruby-operator">||</span> <span class="ruby-string">''</span>,
|
259
|
+
<span class="ruby-identifier">start</span><span class="ruby-operator">:</span> {
|
260
|
+
<span class="ruby-identifier">date_time</span><span class="ruby-operator">:</span> <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">iso8601</span>,
|
261
|
+
<span class="ruby-identifier">time_zone</span><span class="ruby-operator">:</span> <span class="ruby-string">'America/Los_Angeles'</span>,
|
262
|
+
},
|
263
|
+
<span class="ruby-keyword">end</span></pre>
|
264
|
+
</div>
|
265
|
+
|
266
|
+
</div>
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
</div>
|
272
|
+
|
273
|
+
|
274
|
+
<div id="method-i-events" class="method-detail ">
|
275
|
+
|
276
|
+
<div class="method-heading">
|
277
|
+
<span class="method-name">events</span><span
|
278
|
+
class="method-args">(calendar_id = 'primary', **opts)</span>
|
279
|
+
|
280
|
+
<span class="method-click-advice">click to toggle source</span>
|
281
|
+
|
282
|
+
</div>
|
283
|
+
|
284
|
+
|
285
|
+
<div class="method-description">
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
<div class="method-source-code" id="events-source">
|
293
|
+
<pre><span class="ruby-comment"># File lib/googlecal/base.rb, line 38</span>
|
294
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">events</span>(<span class="ruby-identifier">calendar_id</span> = <span class="ruby-string">'primary'</span>, <span class="ruby-operator">**</span><span class="ruby-identifier">opts</span>)
|
295
|
+
<span class="ruby-identifier">@@calendar_service</span>.<span class="ruby-identifier">list_events</span>(<span class="ruby-identifier">calendar_id</span>,
|
296
|
+
<span class="ruby-identifier">max_results</span><span class="ruby-operator">:</span> <span class="ruby-value">10</span>)
|
297
|
+
<span class="ruby-keyword">end</span></pre>
|
298
|
+
</div>
|
299
|
+
|
300
|
+
</div>
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
</div>
|
306
|
+
|
307
|
+
|
308
|
+
</section>
|
309
|
+
|
310
|
+
</section>
|
311
|
+
</main>
|
312
|
+
|
313
|
+
|
314
|
+
<footer id="validator-badges" role="contentinfo">
|
315
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
316
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
|
317
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
318
|
+
</footer>
|
319
|
+
|
@@ -0,0 +1,265 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Googlecal::GCalendar - Googlecal</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="../js/jquery.js"></script>
|
14
|
+
<script src="../js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="class">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
58
|
+
<h3>Parent</h3>
|
59
|
+
|
60
|
+
|
61
|
+
<p class="link"><a href="Base.html">Googlecal::Base</a>
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<div id="method-list-section" class="nav-section">
|
69
|
+
<h3>Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list" role="directory">
|
72
|
+
|
73
|
+
<li ><a href="#method-c-find">::find</a>
|
74
|
+
|
75
|
+
<li ><a href="#method-c-new">::new</a>
|
76
|
+
|
77
|
+
<li ><a href="#method-i-delete">#delete</a>
|
78
|
+
|
79
|
+
<li ><a href="#method-i-update">#update</a>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</nav>
|
86
|
+
|
87
|
+
<main role="main" aria-labelledby="class-Googlecal::GCalendar">
|
88
|
+
<h1 id="class-Googlecal::GCalendar" class="class">
|
89
|
+
class Googlecal::GCalendar
|
90
|
+
</h1>
|
91
|
+
|
92
|
+
<section class="description">
|
93
|
+
|
94
|
+
</section>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
110
|
+
<header>
|
111
|
+
<h3>Public Class Methods</h3>
|
112
|
+
</header>
|
113
|
+
|
114
|
+
|
115
|
+
<div id="method-c-find" class="method-detail ">
|
116
|
+
|
117
|
+
<div class="method-heading">
|
118
|
+
<span class="method-name">find</span><span
|
119
|
+
class="method-args">(calendar_id)</span>
|
120
|
+
|
121
|
+
<span class="method-click-advice">click to toggle source</span>
|
122
|
+
|
123
|
+
</div>
|
124
|
+
|
125
|
+
|
126
|
+
<div class="method-description">
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<div class="method-source-code" id="find-source">
|
134
|
+
<pre><span class="ruby-comment"># File lib/googlecal/gcalendar.rb, line 17</span>
|
135
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">calendar_id</span>)
|
136
|
+
<span class="ruby-comment"># find by goole calendar id</span>
|
137
|
+
<span class="ruby-keyword">end</span></pre>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
</div>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
</div>
|
146
|
+
|
147
|
+
|
148
|
+
<div id="method-c-new" class="method-detail ">
|
149
|
+
|
150
|
+
<div class="method-heading">
|
151
|
+
<span class="method-name">new</span><span
|
152
|
+
class="method-args">()</span>
|
153
|
+
|
154
|
+
<span class="method-click-advice">click to toggle source</span>
|
155
|
+
|
156
|
+
</div>
|
157
|
+
|
158
|
+
|
159
|
+
<div class="method-description">
|
160
|
+
|
161
|
+
<p>initialize</p>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<div class="method-source-code" id="new-source">
|
167
|
+
<pre><span class="ruby-comment"># File lib/googlecal/gcalendar.rb, line 6</span>
|
168
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>()
|
169
|
+
<span class="ruby-keyword">end</span></pre>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
</div>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
</div>
|
178
|
+
|
179
|
+
|
180
|
+
</section>
|
181
|
+
|
182
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
183
|
+
<header>
|
184
|
+
<h3>Public Instance Methods</h3>
|
185
|
+
</header>
|
186
|
+
|
187
|
+
|
188
|
+
<div id="method-i-delete" class="method-detail ">
|
189
|
+
|
190
|
+
<div class="method-heading">
|
191
|
+
<span class="method-name">delete</span><span
|
192
|
+
class="method-args">()</span>
|
193
|
+
|
194
|
+
<span class="method-click-advice">click to toggle source</span>
|
195
|
+
|
196
|
+
</div>
|
197
|
+
|
198
|
+
|
199
|
+
<div class="method-description">
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
<div class="method-source-code" id="delete-source">
|
207
|
+
<pre><span class="ruby-comment"># File lib/googlecal/gcalendar.rb, line 9</span>
|
208
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete</span>
|
209
|
+
<span class="ruby-comment"># delete calendar</span>
|
210
|
+
<span class="ruby-keyword">end</span></pre>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
</div>
|
219
|
+
|
220
|
+
|
221
|
+
<div id="method-i-update" class="method-detail ">
|
222
|
+
|
223
|
+
<div class="method-heading">
|
224
|
+
<span class="method-name">update</span><span
|
225
|
+
class="method-args">(params)</span>
|
226
|
+
|
227
|
+
<span class="method-click-advice">click to toggle source</span>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
<div class="method-description">
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
<div class="method-source-code" id="update-source">
|
240
|
+
<pre><span class="ruby-comment"># File lib/googlecal/gcalendar.rb, line 13</span>
|
241
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">params</span>)
|
242
|
+
<span class="ruby-comment"># delta update</span>
|
243
|
+
<span class="ruby-keyword">end</span></pre>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
</div>
|
252
|
+
|
253
|
+
|
254
|
+
</section>
|
255
|
+
|
256
|
+
</section>
|
257
|
+
</main>
|
258
|
+
|
259
|
+
|
260
|
+
<footer id="validator-badges" role="contentinfo">
|
261
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
262
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
|
263
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
264
|
+
</footer>
|
265
|
+
|