flickraw_objects 0.0.2 → 0.0.4

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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -8
  3. data/lib/doc/FlickrawObjects.html +98 -0
  4. data/lib/doc/FlickrawObjects/Person.html +495 -0
  5. data/lib/doc/FlickrawObjects/Photo.html +552 -0
  6. data/lib/doc/FlickrawObjects/Photoset.html +343 -0
  7. data/lib/doc/created.rid +2 -0
  8. data/lib/doc/fonts.css +167 -0
  9. data/lib/doc/fonts/Lato-Light.ttf +0 -0
  10. data/lib/doc/fonts/Lato-LightItalic.ttf +0 -0
  11. data/lib/doc/fonts/Lato-Regular.ttf +0 -0
  12. data/lib/doc/fonts/Lato-RegularItalic.ttf +0 -0
  13. data/lib/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  14. data/lib/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  15. data/lib/doc/images/add.png +0 -0
  16. data/lib/doc/images/arrow_up.png +0 -0
  17. data/lib/doc/images/brick.png +0 -0
  18. data/lib/doc/images/brick_link.png +0 -0
  19. data/lib/doc/images/bug.png +0 -0
  20. data/lib/doc/images/bullet_black.png +0 -0
  21. data/lib/doc/images/bullet_toggle_minus.png +0 -0
  22. data/lib/doc/images/bullet_toggle_plus.png +0 -0
  23. data/lib/doc/images/date.png +0 -0
  24. data/lib/doc/images/delete.png +0 -0
  25. data/lib/doc/images/find.png +0 -0
  26. data/lib/doc/images/loadingAnimation.gif +0 -0
  27. data/lib/doc/images/macFFBgHack.png +0 -0
  28. data/lib/doc/images/package.png +0 -0
  29. data/lib/doc/images/page_green.png +0 -0
  30. data/lib/doc/images/page_white_text.png +0 -0
  31. data/lib/doc/images/page_white_width.png +0 -0
  32. data/lib/doc/images/plugin.png +0 -0
  33. data/lib/doc/images/ruby.png +0 -0
  34. data/lib/doc/images/tag_blue.png +0 -0
  35. data/lib/doc/images/tag_green.png +0 -0
  36. data/lib/doc/images/transparent.png +0 -0
  37. data/lib/doc/images/wrench.png +0 -0
  38. data/lib/doc/images/wrench_orange.png +0 -0
  39. data/lib/doc/images/zoom.png +0 -0
  40. data/lib/doc/index.html +89 -0
  41. data/lib/doc/js/darkfish.js +140 -0
  42. data/lib/doc/js/jquery.js +18 -0
  43. data/lib/doc/js/navigation.js +142 -0
  44. data/lib/doc/js/search.js +109 -0
  45. data/lib/doc/js/search_index.js +1 -0
  46. data/lib/doc/js/searcher.js +228 -0
  47. data/lib/doc/rdoc.css +580 -0
  48. data/lib/doc/table_of_contents.html +196 -0
  49. data/lib/flickraw_objects.rb +40 -13
  50. data/lib/flickraw_objects.rb~ +71 -48
  51. data/lib/flickraw_objects/version.rb +1 -1
  52. data/lib/flickraw_objects/version.rb~ +1 -1
  53. metadata +50 -5
  54. data/lib/flickraw_objects/attributes.rb~ +0 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8eecfd471b9fdf534dea1a27fd468a08c0a4098
4
- data.tar.gz: 0aa14b6fd6d09c3e343fc7e63a6605a50acdefa6
3
+ metadata.gz: 7f9e48b449f66f6876dadbb31fc9121f7f822e98
4
+ data.tar.gz: 11346ee02558c2801084ada811e473bd5907f93c
5
5
  SHA512:
6
- metadata.gz: 91e4523e421e20f9e6d57e30e3fa34f4b28d3636d17ab8d6ce2282985adf682a7fa7d78d8036d85a05a8339075c0cb46c48b59d0a1c53f11d287ba2fae0a0a30
7
- data.tar.gz: 00ddf17c5b2fe4d43437750500c565304771f097179522fbab0cba32b78da42c6eb51ca3025f745daf0706e34943f67f51c6f86d6aeaab53e9adf5ee9c6da7ca
6
+ metadata.gz: b8df85f46fc3b813f7236c8d8dd43b4f5b0e771c27ad7817d85f9cbdb42d01c2cf25a950102aa9bb861a75628780a0cfcd7c602d1fae6f815b2f31c2fe82f299
7
+ data.tar.gz: 20fb68d3783f7293c0c0110296e3e2456fe43c8e33ee6c8d0d826dd581196e8efe9f269147d67bac0052c41d5f65e7472b1416c453bb1f68ae796aae0810de3e
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  A slim, customisable object-oriented Flickr api that uses flickraw to do all the communication.
4
4
  Use this gem as a simple way to use Flickraw but with an object-orientated "data model".
5
5
  Classes for Person, Photoset and Photos are included. I anticipate
6
- users of this Gem will map other data they need. Look at flickraw_objects.rb to see how objects are make
6
+ users of this Gem will map other data they need. Look at flickraw_objects.rb to see how objects make
7
7
  Flickraw requests and define the attributes in the response.
8
8
 
9
9
  ## Installation
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- Create an initializer where you set your Flickr credentials.
25
+ Set your Flickr credentials using flickraw.
26
26
 
27
27
  ```ruby
28
28
  require "flickraw"
@@ -33,8 +33,21 @@ FlickRaw::shared_secret = "abcdefghijkl"
33
33
  ```
34
34
  If you don't have them yet, you can apply for them [here](http://www.flickr.com/services/apps/create/apply).
35
35
 
36
+ Example: Finding a particular Photo:
36
37
 
37
- Example usage:
38
+ ```ruby
39
+ pic = FlickrawObjects::Photo.find_by_id('9483891183')
40
+ puts pic.title
41
+ ```
42
+
43
+ Example: Finding a particular album:
44
+
45
+ ```ruby
46
+ pics = FlickrawObjects::Photoset.find_by_id('72157635151450677')
47
+ puts "#{pics.title}: #{pics.photos.length}"
48
+ ```
49
+
50
+ Example: Finding a named album for a given user:
38
51
 
39
52
  ```ruby
40
53
  me = FlickrawObjects::Person.find_by_username('your-flickr-name')
@@ -46,10 +59,9 @@ thePhotos.each do |pic|
46
59
  end
47
60
  ```
48
61
 
62
+
49
63
  ## Contributing
50
64
 
51
- 1. Fork it ( http://github.com/<my-github-username>/flickraw_objects/fork )
52
- 2. Create your feature branch (`git checkout -b my-new-feature`)
53
- 3. Commit your changes (`git commit -am 'Add some feature'`)
54
- 4. Push to the branch (`git push origin my-new-feature`)
55
- 5. Create new Pull Request
65
+ I'm happy to recieve pull requests or to add simple things to the data model,
66
+ however, I'd like the data model to remain quite minimal because to do otherwise
67
+ would erode the introspection benefits of flickraw.
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module FlickrawObjects - RDoc Documentation</title>
8
+
9
+ <link href="./fonts.css" rel="stylesheet">
10
+ <link href="./rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "./";
14
+ </script>
15
+
16
+ <script src="./js/jquery.js"></script>
17
+ <script src="./js/navigation.js"></script>
18
+ <script src="./js/search_index.js"></script>
19
+ <script src="./js/search.js"></script>
20
+ <script src="./js/searcher.js"></script>
21
+ <script src="./js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="module">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+
62
+
63
+
64
+ </div>
65
+ </nav>
66
+
67
+ <main role="main" aria-labelledby="module-FlickrawObjects">
68
+ <h1 id="module-FlickrawObjects" class="module">
69
+ module FlickrawObjects
70
+ </h1>
71
+
72
+ <section class="description">
73
+
74
+ </section>
75
+
76
+
77
+
78
+
79
+ <section id="5Buntitled-5D" class="documentation-section">
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+ </section>
90
+ </main>
91
+
92
+
93
+ <footer id="validator-badges" role="contentinfo">
94
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
95
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
96
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
97
+ </footer>
98
+
@@ -0,0 +1,495 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class FlickrawObjects::Person - RDoc Documentation</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link">Object
65
+
66
+ </div>
67
+
68
+ <div id="includes-section" class="nav-section">
69
+ <h3>Included Modules</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+
74
+ <li><span class="include">Attributes</span>
75
+
76
+
77
+ </ul>
78
+ </div>
79
+
80
+
81
+ <!-- Method Quickref -->
82
+ <div id="method-list-section" class="nav-section">
83
+ <h3>Methods</h3>
84
+
85
+ <ul class="link-list" role="directory">
86
+
87
+ <li ><a href="#method-c-find_by_username">::find_by_username</a>
88
+
89
+ <li ><a href="#method-i-first_date">#first_date</a>
90
+
91
+ <li ><a href="#method-i-get_info">#get_info</a>
92
+
93
+ <li ><a href="#method-i-get_photos">#get_photos</a>
94
+
95
+ <li ><a href="#method-i-get_photosets">#get_photosets</a>
96
+
97
+ <li ><a href="#method-i-id">#id</a>
98
+
99
+ <li ><a href="#method-i-photos">#photos</a>
100
+
101
+ <li ><a href="#method-i-photosets">#photosets</a>
102
+
103
+ <li ><a href="#method-i-professional">#professional</a>
104
+
105
+ <li ><a href="#method-i-realname">#realname</a>
106
+
107
+ </ul>
108
+ </div>
109
+
110
+ </div>
111
+ </nav>
112
+
113
+ <main role="main" aria-labelledby="class-FlickrawObjects::Person">
114
+ <h1 id="class-FlickrawObjects::Person" class="class">
115
+ class FlickrawObjects::Person
116
+ </h1>
117
+
118
+ <section class="description">
119
+
120
+ </section>
121
+
122
+
123
+
124
+
125
+ <section id="5Buntitled-5D" class="documentation-section">
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
136
+ <header>
137
+ <h3>Public Class Methods</h3>
138
+ </header>
139
+
140
+
141
+ <div id="method-c-find_by_username" class="method-detail ">
142
+
143
+ <div class="method-heading">
144
+ <span class="method-name">find_by_username</span><span
145
+ class="method-args">(username)</span>
146
+
147
+ <span class="method-click-advice">click to toggle source</span>
148
+
149
+ </div>
150
+
151
+
152
+ <div class="method-description">
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <div class="method-source-code" id="find_by_username-source">
160
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 11</span>
161
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">find_by_username</span>(<span class="ruby-identifier">username</span>)
162
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">flickr</span>.<span class="ruby-identifier">people</span>.<span class="ruby-identifier">findByUsername</span> <span class="ruby-identifier">username</span><span class="ruby-operator">:</span> <span class="ruby-identifier">username</span>
163
+ <span class="ruby-constant">Person</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">response</span>)
164
+ <span class="ruby-keyword">end</span></pre>
165
+ </div>
166
+
167
+ </div>
168
+
169
+
170
+
171
+
172
+ </div>
173
+
174
+
175
+ </section>
176
+
177
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
178
+ <header>
179
+ <h3>Public Instance Methods</h3>
180
+ </header>
181
+
182
+
183
+ <div id="method-i-first_date" class="method-detail ">
184
+
185
+ <div class="method-heading">
186
+ <span class="method-name">first_date</span><span
187
+ class="method-args">()</span>
188
+
189
+ <span class="method-click-advice">click to toggle source</span>
190
+
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+
197
+
198
+
199
+
200
+
201
+ <div class="method-source-code" id="first_date-source">
202
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 55</span>
203
+ <span class="ruby-identifier">attribute</span> <span class="ruby-value">:first_date</span>, <span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-constant">Time</span>, <span class="ruby-identifier">path</span><span class="ruby-operator">:</span> [<span class="ruby-value">:firstdate</span>]
204
+ </pre>
205
+ </div>
206
+
207
+ </div>
208
+
209
+
210
+
211
+
212
+ </div>
213
+
214
+
215
+ <div id="method-i-get_info" class="method-detail ">
216
+
217
+ <div class="method-heading">
218
+ <span class="method-name">get_info</span><span
219
+ class="method-args">()</span>
220
+
221
+ <span class="method-click-advice">click to toggle source</span>
222
+
223
+ </div>
224
+
225
+
226
+ <div class="method-description">
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <div class="method-source-code" id="get_info-source">
234
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 36</span>
235
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_info</span>
236
+ <span class="ruby-ivar">@get_info</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">flickr</span>.<span class="ruby-identifier">people</span>.<span class="ruby-identifier">getInfo</span> <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">id</span>
237
+ <span class="ruby-keyword">end</span></pre>
238
+ </div>
239
+
240
+ </div>
241
+
242
+
243
+
244
+
245
+ </div>
246
+
247
+
248
+ <div id="method-i-get_photos" class="method-detail ">
249
+
250
+ <div class="method-heading">
251
+ <span class="method-name">get_photos</span><span
252
+ class="method-args">(params = {})</span>
253
+
254
+ <span class="method-click-advice">click to toggle source</span>
255
+
256
+ </div>
257
+
258
+
259
+ <div class="method-description">
260
+
261
+
262
+
263
+
264
+
265
+
266
+ <div class="method-source-code" id="get_photos-source">
267
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 16</span>
268
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_photos</span>(<span class="ruby-identifier">params</span> = {})
269
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
270
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">flickr</span>.<span class="ruby-identifier">people</span>.<span class="ruby-identifier">getPhotos</span> <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">id</span>
271
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">photo</span><span class="ruby-operator">|</span>
272
+ <span class="ruby-identifier">result</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Photo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">photo</span>)
273
+ <span class="ruby-keyword">end</span>
274
+ <span class="ruby-identifier">result</span>
275
+ <span class="ruby-keyword">end</span></pre>
276
+ </div>
277
+
278
+ </div>
279
+
280
+
281
+ <div class="aliases">
282
+ Also aliased as: <a href="Person.html#method-i-photos">photos</a>
283
+ </div>
284
+
285
+
286
+
287
+ </div>
288
+
289
+
290
+ <div id="method-i-get_photosets" class="method-detail ">
291
+
292
+ <div class="method-heading">
293
+ <span class="method-name">get_photosets</span><span
294
+ class="method-args">(params = {})</span>
295
+
296
+ <span class="method-click-advice">click to toggle source</span>
297
+
298
+ </div>
299
+
300
+
301
+ <div class="method-description">
302
+
303
+
304
+
305
+
306
+
307
+
308
+ <div class="method-source-code" id="get_photosets-source">
309
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 26</span>
310
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_photosets</span>(<span class="ruby-identifier">params</span> = {})
311
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
312
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">flickr</span>.<span class="ruby-identifier">photosets</span>.<span class="ruby-identifier">getList</span> <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">id</span>
313
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">photoset</span><span class="ruby-operator">|</span>
314
+ <span class="ruby-identifier">result</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Photoset</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">photoset</span>)
315
+ <span class="ruby-keyword">end</span>
316
+ <span class="ruby-identifier">result</span>
317
+ <span class="ruby-keyword">end</span></pre>
318
+ </div>
319
+
320
+ </div>
321
+
322
+
323
+ <div class="aliases">
324
+ Also aliased as: <a href="Person.html#method-i-photosets">photosets</a>
325
+ </div>
326
+
327
+
328
+
329
+ </div>
330
+
331
+
332
+ <div id="method-i-id" class="method-detail ">
333
+
334
+ <div class="method-heading">
335
+ <span class="method-name">id</span><span
336
+ class="method-args">()</span>
337
+
338
+ <span class="method-click-advice">click to toggle source</span>
339
+
340
+ </div>
341
+
342
+
343
+ <div class="method-description">
344
+
345
+
346
+
347
+
348
+
349
+
350
+ <div class="method-source-code" id="id-source">
351
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 41</span>
352
+ <span class="ruby-identifier">attribute</span> <span class="ruby-value">:id</span>
353
+ </pre>
354
+ </div>
355
+
356
+ </div>
357
+
358
+
359
+
360
+
361
+ </div>
362
+
363
+
364
+ <div id="method-i-photos" class="method-detail method-alias">
365
+
366
+ <div class="method-heading">
367
+ <span class="method-name">photos</span><span
368
+ class="method-args">(params = {})</span>
369
+
370
+ </div>
371
+
372
+
373
+ <div class="method-description">
374
+
375
+
376
+
377
+
378
+
379
+
380
+ </div>
381
+
382
+
383
+
384
+
385
+ <div class="aliases">
386
+ Alias for: <a href="Person.html#method-i-get_photos">get_photos</a>
387
+ </div>
388
+
389
+ </div>
390
+
391
+
392
+ <div id="method-i-photosets" class="method-detail method-alias">
393
+
394
+ <div class="method-heading">
395
+ <span class="method-name">photosets</span><span
396
+ class="method-args">(params = {})</span>
397
+
398
+ </div>
399
+
400
+
401
+ <div class="method-description">
402
+
403
+
404
+
405
+
406
+
407
+
408
+ </div>
409
+
410
+
411
+
412
+
413
+ <div class="aliases">
414
+ Alias for: <a href="Person.html#method-i-get_photosets">get_photosets</a>
415
+ </div>
416
+
417
+ </div>
418
+
419
+
420
+ <div id="method-i-professional" class="method-detail ">
421
+
422
+ <div class="method-heading">
423
+ <span class="method-name">professional</span><span
424
+ class="method-args">()</span>
425
+
426
+ <span class="method-click-advice">click to toggle source</span>
427
+
428
+ </div>
429
+
430
+
431
+ <div class="method-description">
432
+
433
+
434
+
435
+
436
+
437
+
438
+ <div class="method-source-code" id="professional-source">
439
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 51</span>
440
+ <span class="ruby-identifier">attribute</span> <span class="ruby-value">:professional</span>, <span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-constant">Boolean</span>, <span class="ruby-identifier">path</span><span class="ruby-operator">:</span> [<span class="ruby-value">:ispro</span>]
441
+ </pre>
442
+ </div>
443
+
444
+ </div>
445
+
446
+
447
+
448
+
449
+ </div>
450
+
451
+
452
+ <div id="method-i-realname" class="method-detail ">
453
+
454
+ <div class="method-heading">
455
+ <span class="method-name">realname</span><span
456
+ class="method-args">()</span>
457
+
458
+ <span class="method-click-advice">click to toggle source</span>
459
+
460
+ </div>
461
+
462
+
463
+ <div class="method-description">
464
+
465
+
466
+
467
+
468
+
469
+
470
+ <div class="method-source-code" id="realname-source">
471
+ <pre><span class="ruby-comment"># File flickraw_objects.rb, line 47</span>
472
+ <span class="ruby-identifier">attribute</span> <span class="ruby-value">:realname</span>, <span class="ruby-identifier">path</span><span class="ruby-operator">:</span> [<span class="ruby-value">:realname</span>]
473
+ </pre>
474
+ </div>
475
+
476
+ </div>
477
+
478
+
479
+
480
+
481
+ </div>
482
+
483
+
484
+ </section>
485
+
486
+ </section>
487
+ </main>
488
+
489
+
490
+ <footer id="validator-badges" role="contentinfo">
491
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
492
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
493
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
494
+ </footer>
495
+