flickrie 0.5.0 → 0.5.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.
- data/CHANGELOG.md +4 -0
- data/lib/flickrie/version.rb +1 -1
- metadata +9 -78
- data/doc/Flickrie.html +0 -364
- data/doc/Flickrie/.DS_Store +0 -0
- data/doc/Flickrie/ApiMethods.html +0 -1692
- data/doc/Flickrie/Client.html +0 -914
- data/doc/Flickrie/Error.html +0 -187
- data/doc/Flickrie/Instance.html +0 -344
- data/doc/Flickrie/License.html +0 -288
- data/doc/Flickrie/Location.html +0 -233
- data/doc/Flickrie/Media.html +0 -1689
- data/doc/Flickrie/Media/ClassMethods.html +0 -509
- data/doc/Flickrie/Media/Count.html +0 -314
- data/doc/Flickrie/Media/Exif.html +0 -276
- data/doc/Flickrie/Media/Note.html +0 -362
- data/doc/Flickrie/Media/Tag.html +0 -425
- data/doc/Flickrie/Media/Ticket.html +0 -425
- data/doc/Flickrie/Media/Visibility.html +0 -359
- data/doc/Flickrie/MediaCount.html +0 -314
- data/doc/Flickrie/OAuth.html +0 -334
- data/doc/Flickrie/OAuth/AccessToken.html +0 -187
- data/doc/Flickrie/OAuth/Error.html +0 -187
- data/doc/Flickrie/OAuth/ParseResponseParams.html +0 -187
- data/doc/Flickrie/OAuth/RequestToken.html +0 -241
- data/doc/Flickrie/OAuth/StatusCheck.html +0 -235
- data/doc/Flickrie/OAuth/Token.html +0 -227
- data/doc/Flickrie/OAuthStatusCheck.html +0 -236
- data/doc/Flickrie/Photo.html +0 -913
- data/doc/Flickrie/Set.html +0 -998
- data/doc/Flickrie/StatusCheck.html +0 -235
- data/doc/Flickrie/UploadClient.html +0 -284
- data/doc/Flickrie/UploadStatusCheck.html +0 -235
- data/doc/Flickrie/User.html +0 -875
- data/doc/Flickrie/Video.html +0 -601
- data/doc/Gemfile.html +0 -163
- data/doc/LICENSE.html +0 -165
- data/doc/Rakefile.html +0 -168
- data/doc/created.rid +0 -25
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -140
- data/doc/js/darkfish.js +0 -153
- data/doc/js/jquery.js +0 -18
- data/doc/js/navigation.js +0 -142
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/rdoc.css +0 -543
- data/doc/table_of_contents.html +0 -642
data/CHANGELOG.md
CHANGED
data/lib/flickrie/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flickrie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-05-06 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday_middleware
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70100275626120 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70100275626120
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: simple_oauth
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &70100275625500 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *70100275625500
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: multi_xml
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &70100275625040 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ! '>='
|
|
@@ -43,10 +43,10 @@ dependencies:
|
|
|
43
43
|
version: '0'
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *70100275625040
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: activesupport
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &70100275624620 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ! '>='
|
|
@@ -54,7 +54,7 @@ dependencies:
|
|
|
54
54
|
version: '0'
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *70100275624620
|
|
58
58
|
description: This gem is a nice wrapper for the Flickr API with an intuitive interface.
|
|
59
59
|
email: janko.marohnic@gmail.com
|
|
60
60
|
executables: []
|
|
@@ -68,75 +68,6 @@ files:
|
|
|
68
68
|
- README.md
|
|
69
69
|
- Rakefile
|
|
70
70
|
- api_methods.md
|
|
71
|
-
- doc/Flickrie.html
|
|
72
|
-
- doc/Flickrie/.DS_Store
|
|
73
|
-
- doc/Flickrie/ApiMethods.html
|
|
74
|
-
- doc/Flickrie/Client.html
|
|
75
|
-
- doc/Flickrie/Error.html
|
|
76
|
-
- doc/Flickrie/Instance.html
|
|
77
|
-
- doc/Flickrie/License.html
|
|
78
|
-
- doc/Flickrie/Location.html
|
|
79
|
-
- doc/Flickrie/Media.html
|
|
80
|
-
- doc/Flickrie/Media/ClassMethods.html
|
|
81
|
-
- doc/Flickrie/Media/Count.html
|
|
82
|
-
- doc/Flickrie/Media/Exif.html
|
|
83
|
-
- doc/Flickrie/Media/Note.html
|
|
84
|
-
- doc/Flickrie/Media/Tag.html
|
|
85
|
-
- doc/Flickrie/Media/Ticket.html
|
|
86
|
-
- doc/Flickrie/Media/Visibility.html
|
|
87
|
-
- doc/Flickrie/MediaCount.html
|
|
88
|
-
- doc/Flickrie/OAuth.html
|
|
89
|
-
- doc/Flickrie/OAuth/AccessToken.html
|
|
90
|
-
- doc/Flickrie/OAuth/Error.html
|
|
91
|
-
- doc/Flickrie/OAuth/ParseResponseParams.html
|
|
92
|
-
- doc/Flickrie/OAuth/RequestToken.html
|
|
93
|
-
- doc/Flickrie/OAuth/StatusCheck.html
|
|
94
|
-
- doc/Flickrie/OAuth/Token.html
|
|
95
|
-
- doc/Flickrie/OAuthStatusCheck.html
|
|
96
|
-
- doc/Flickrie/Photo.html
|
|
97
|
-
- doc/Flickrie/Set.html
|
|
98
|
-
- doc/Flickrie/StatusCheck.html
|
|
99
|
-
- doc/Flickrie/UploadClient.html
|
|
100
|
-
- doc/Flickrie/UploadStatusCheck.html
|
|
101
|
-
- doc/Flickrie/User.html
|
|
102
|
-
- doc/Flickrie/Video.html
|
|
103
|
-
- doc/Gemfile.html
|
|
104
|
-
- doc/LICENSE.html
|
|
105
|
-
- doc/Rakefile.html
|
|
106
|
-
- doc/created.rid
|
|
107
|
-
- doc/images/add.png
|
|
108
|
-
- doc/images/brick.png
|
|
109
|
-
- doc/images/brick_link.png
|
|
110
|
-
- doc/images/bug.png
|
|
111
|
-
- doc/images/bullet_black.png
|
|
112
|
-
- doc/images/bullet_toggle_minus.png
|
|
113
|
-
- doc/images/bullet_toggle_plus.png
|
|
114
|
-
- doc/images/date.png
|
|
115
|
-
- doc/images/delete.png
|
|
116
|
-
- doc/images/find.png
|
|
117
|
-
- doc/images/loadingAnimation.gif
|
|
118
|
-
- doc/images/macFFBgHack.png
|
|
119
|
-
- doc/images/package.png
|
|
120
|
-
- doc/images/page_green.png
|
|
121
|
-
- doc/images/page_white_text.png
|
|
122
|
-
- doc/images/page_white_width.png
|
|
123
|
-
- doc/images/plugin.png
|
|
124
|
-
- doc/images/ruby.png
|
|
125
|
-
- doc/images/tag_blue.png
|
|
126
|
-
- doc/images/tag_green.png
|
|
127
|
-
- doc/images/transparent.png
|
|
128
|
-
- doc/images/wrench.png
|
|
129
|
-
- doc/images/wrench_orange.png
|
|
130
|
-
- doc/images/zoom.png
|
|
131
|
-
- doc/index.html
|
|
132
|
-
- doc/js/darkfish.js
|
|
133
|
-
- doc/js/jquery.js
|
|
134
|
-
- doc/js/navigation.js
|
|
135
|
-
- doc/js/search.js
|
|
136
|
-
- doc/js/search_index.js
|
|
137
|
-
- doc/js/searcher.js
|
|
138
|
-
- doc/rdoc.css
|
|
139
|
-
- doc/table_of_contents.html
|
|
140
71
|
- flickrie.gemspec
|
|
141
72
|
- lib/flickrie.rb
|
|
142
73
|
- lib/flickrie/api_methods.rb
|
data/doc/Flickrie.html
DELETED
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
6
|
-
|
|
7
|
-
<title>module Flickrie - RDoc Documentation</title>
|
|
8
|
-
|
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
|
-
<script type="text/javascript">
|
|
12
|
-
var rdoc_rel_prefix = "./";
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
|
16
|
-
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
|
17
|
-
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
|
18
|
-
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
|
19
|
-
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
|
20
|
-
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<body id="top" class="module">
|
|
24
|
-
<nav id="metadata">
|
|
25
|
-
<nav id="home-section" class="section">
|
|
26
|
-
<h3 class="section-header">
|
|
27
|
-
<a href="./index.html">Home</a>
|
|
28
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
|
29
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</h3>
|
|
31
|
-
</nav>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<h3 class="section-header">
|
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</h3>
|
|
40
|
-
</form>
|
|
41
|
-
|
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
-
</nav>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div id="file-metadata">
|
|
47
|
-
<nav id="file-list-section" class="section">
|
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
|
49
|
-
<ul>
|
|
50
|
-
<li>lib/flickrie/api_methods.rb
|
|
51
|
-
<li>lib/flickrie/client.rb
|
|
52
|
-
<li>lib/flickrie/instance.rb
|
|
53
|
-
<li>lib/flickrie/license.rb
|
|
54
|
-
<li>lib/flickrie/location.rb
|
|
55
|
-
<li>lib/flickrie/media/exif.rb
|
|
56
|
-
<li>lib/flickrie/media/note.rb
|
|
57
|
-
<li>lib/flickrie/media/tag.rb
|
|
58
|
-
<li>lib/flickrie/media/ticket.rb
|
|
59
|
-
<li>lib/flickrie/media/visibility.rb
|
|
60
|
-
<li>lib/flickrie/media.rb
|
|
61
|
-
<li>lib/flickrie/media_count.rb
|
|
62
|
-
<li>lib/flickrie/oauth.rb
|
|
63
|
-
<li>lib/flickrie/photo.rb
|
|
64
|
-
<li>lib/flickrie/set.rb
|
|
65
|
-
<li>lib/flickrie/upload_client.rb
|
|
66
|
-
<li>lib/flickrie/user.rb
|
|
67
|
-
<li>lib/flickrie/version.rb
|
|
68
|
-
<li>lib/flickrie/video.rb
|
|
69
|
-
<li>lib/flickrie.rb
|
|
70
|
-
</ul>
|
|
71
|
-
</nav>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<div id="class-metadata">
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
<!-- Method Quickref -->
|
|
81
|
-
<nav id="method-list-section" class="section">
|
|
82
|
-
<h3 class="section-header">Methods</h3>
|
|
83
|
-
|
|
84
|
-
<ul class="link-list">
|
|
85
|
-
|
|
86
|
-
<li><a href="#method-c-attr_accessor_with_client_reset">::attr_accessor_with_client_reset</a>
|
|
87
|
-
|
|
88
|
-
<li><a href="#method-c-client">::client</a>
|
|
89
|
-
|
|
90
|
-
<li><a href="#method-c-upload_client">::upload_client</a>
|
|
91
|
-
|
|
92
|
-
</ul>
|
|
93
|
-
</nav>
|
|
94
|
-
|
|
95
|
-
</div>
|
|
96
|
-
|
|
97
|
-
<div id="project-metadata">
|
|
98
|
-
<nav id="fileindex-section" class="section project-section">
|
|
99
|
-
<h3 class="section-header">Pages</h3>
|
|
100
|
-
|
|
101
|
-
<ul>
|
|
102
|
-
|
|
103
|
-
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
|
104
|
-
|
|
105
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
|
106
|
-
|
|
107
|
-
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
|
108
|
-
|
|
109
|
-
</ul>
|
|
110
|
-
</nav>
|
|
111
|
-
|
|
112
|
-
<nav id="classindex-section" class="section project-section">
|
|
113
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
114
|
-
|
|
115
|
-
<ul class="link-list">
|
|
116
|
-
|
|
117
|
-
<li><a href="./Flickrie.html">Flickrie</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="./Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="./Flickrie/Client.html">Flickrie::Client</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="./Flickrie/Error.html">Flickrie::Error</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="./Flickrie/Instance.html">Flickrie::Instance</a>
|
|
126
|
-
|
|
127
|
-
<li><a href="./Flickrie/License.html">Flickrie::License</a>
|
|
128
|
-
|
|
129
|
-
<li><a href="./Flickrie/Location.html">Flickrie::Location</a>
|
|
130
|
-
|
|
131
|
-
<li><a href="./Flickrie/Media.html">Flickrie::Media</a>
|
|
132
|
-
|
|
133
|
-
<li><a href="./Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
|
|
134
|
-
|
|
135
|
-
<li><a href="./Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
|
|
136
|
-
|
|
137
|
-
<li><a href="./Flickrie/Media/Note.html">Flickrie::Media::Note</a>
|
|
138
|
-
|
|
139
|
-
<li><a href="./Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
|
|
140
|
-
|
|
141
|
-
<li><a href="./Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
|
|
142
|
-
|
|
143
|
-
<li><a href="./Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
|
|
144
|
-
|
|
145
|
-
<li><a href="./Flickrie/MediaCount.html">Flickrie::MediaCount</a>
|
|
146
|
-
|
|
147
|
-
<li><a href="./Flickrie/OAuth.html">Flickrie::OAuth</a>
|
|
148
|
-
|
|
149
|
-
<li><a href="./Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
|
|
150
|
-
|
|
151
|
-
<li><a href="./Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
|
|
152
|
-
|
|
153
|
-
<li><a href="./Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
|
|
154
|
-
|
|
155
|
-
<li><a href="./Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
|
|
156
|
-
|
|
157
|
-
<li><a href="./Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
|
|
158
|
-
|
|
159
|
-
<li><a href="./Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
|
|
160
|
-
|
|
161
|
-
<li><a href="./Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
|
|
162
|
-
|
|
163
|
-
<li><a href="./Flickrie/Photo.html">Flickrie::Photo</a>
|
|
164
|
-
|
|
165
|
-
<li><a href="./Flickrie/Set.html">Flickrie::Set</a>
|
|
166
|
-
|
|
167
|
-
<li><a href="./Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
|
|
168
|
-
|
|
169
|
-
<li><a href="./Flickrie/UploadClient.html">Flickrie::UploadClient</a>
|
|
170
|
-
|
|
171
|
-
<li><a href="./Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
|
|
172
|
-
|
|
173
|
-
<li><a href="./Flickrie/User.html">Flickrie::User</a>
|
|
174
|
-
|
|
175
|
-
<li><a href="./Flickrie/Video.html">Flickrie::Video</a>
|
|
176
|
-
|
|
177
|
-
</ul>
|
|
178
|
-
</nav>
|
|
179
|
-
|
|
180
|
-
</div>
|
|
181
|
-
</nav>
|
|
182
|
-
|
|
183
|
-
<div id="documentation">
|
|
184
|
-
<h1 class="module">module Flickrie</h1>
|
|
185
|
-
|
|
186
|
-
<div id="description" class="description">
|
|
187
|
-
|
|
188
|
-
</div><!-- description -->
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
<!-- Constants -->
|
|
200
|
-
<section id="constants-list" class="section">
|
|
201
|
-
<h3 class="section-header">Constants</h3>
|
|
202
|
-
<dl>
|
|
203
|
-
|
|
204
|
-
<dt id="OPEN_TIMEOUT">OPEN_TIMEOUT
|
|
205
|
-
|
|
206
|
-
<dd class="description">
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
<dt id="TIMEOUT">TIMEOUT
|
|
210
|
-
|
|
211
|
-
<dd class="description">
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<dt id="VERSION">VERSION
|
|
215
|
-
|
|
216
|
-
<dd class="description">
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
</dl>
|
|
220
|
-
</section>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
<!-- Methods -->
|
|
226
|
-
|
|
227
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
|
228
|
-
<h3 class="section-header">Public Class Methods</h3>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
<div id="method-c-attr_accessor_with_client_reset" class="method-detail ">
|
|
232
|
-
|
|
233
|
-
<div class="method-heading">
|
|
234
|
-
<span class="method-name">attr_accessor_with_client_reset</span><span
|
|
235
|
-
class="method-args">(*attributes)</span>
|
|
236
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
237
|
-
</div>
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
<div class="method-description">
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
<div class="method-source-code" id="attr_accessor_with_client_reset-source">
|
|
247
|
-
<pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 5</span>
|
|
248
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">attr_accessor_with_client_reset</span>(*<span class="ruby-identifier">attributes</span>)
|
|
249
|
-
<span class="ruby-identifier">attr_reader</span> *<span class="ruby-identifier">attributes</span>
|
|
250
|
-
|
|
251
|
-
<span class="ruby-identifier">attributes</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">attribute</span><span class="ruby-operator">|</span>
|
|
252
|
-
<span class="ruby-identifier">define_method</span> <span class="ruby-node">"#{attribute}="</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
|
253
|
-
<span class="ruby-identifier">instance_variable_set</span> <span class="ruby-node">"@#{attribute}"</span>, <span class="ruby-identifier">value</span>
|
|
254
|
-
<span class="ruby-ivar">@client</span> = <span class="ruby-keyword">nil</span>
|
|
255
|
-
<span class="ruby-keyword">end</span>
|
|
256
|
-
<span class="ruby-keyword">end</span>
|
|
257
|
-
<span class="ruby-keyword">end</span></pre>
|
|
258
|
-
</div><!-- attr_accessor_with_client_reset-source -->
|
|
259
|
-
|
|
260
|
-
</div>
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
</div><!-- attr_accessor_with_client_reset-method -->
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
<div id="method-c-client" class="method-detail ">
|
|
269
|
-
|
|
270
|
-
<div class="method-heading">
|
|
271
|
-
<span class="method-name">client</span><span
|
|
272
|
-
class="method-args">(access_token_hash = {})</span>
|
|
273
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
274
|
-
</div>
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
<div class="method-description">
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
<div class="method-source-code" id="client-source">
|
|
284
|
-
<pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 19</span>
|
|
285
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">client</span>(<span class="ruby-identifier">access_token_hash</span> = {})
|
|
286
|
-
<span class="ruby-ivar">@client</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">conn</span><span class="ruby-operator">|</span>
|
|
287
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">request</span> <span class="ruby-value">:oauth</span>,
|
|
288
|
-
<span class="ruby-value">:consumer_key</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">api_key</span>,
|
|
289
|
-
<span class="ruby-value">:consumer_secret</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">shared_secret</span>,
|
|
290
|
-
<span class="ruby-value">:token</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">access_token_hash</span>[<span class="ruby-value">:token</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">access_token</span>,
|
|
291
|
-
<span class="ruby-value">:token_secret</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">access_token_hash</span>[<span class="ruby-value">:secret</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">access_secret</span>
|
|
292
|
-
|
|
293
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">use</span> <span class="ruby-constant">StatusCheck</span>
|
|
294
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">response</span> <span class="ruby-value">:json</span>, <span class="ruby-value">:content_type</span> =<span class="ruby-operator">></span> <span class="ruby-regexp">%r(text\/plain)|(json)$/</span>
|
|
295
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">use</span> <span class="ruby-constant">OAuthStatusCheck</span>
|
|
296
|
-
|
|
297
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">adapter</span> <span class="ruby-constant">Faraday</span>.<span class="ruby-identifier">default_adapter</span>
|
|
298
|
-
<span class="ruby-keyword">end</span>
|
|
299
|
-
<span class="ruby-keyword">end</span></pre>
|
|
300
|
-
</div><!-- client-source -->
|
|
301
|
-
|
|
302
|
-
</div>
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
</div><!-- client-method -->
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
<div id="method-c-upload_client" class="method-detail ">
|
|
311
|
-
|
|
312
|
-
<div class="method-heading">
|
|
313
|
-
<span class="method-name">upload_client</span><span
|
|
314
|
-
class="method-args">(access_token_hash = {})</span>
|
|
315
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
316
|
-
</div>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
<div class="method-description">
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
<div class="method-source-code" id="upload_client-source">
|
|
326
|
-
<pre><span class="ruby-comment"># File lib/flickrie/upload_client.rb, line 3</span>
|
|
327
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">upload_client</span>(<span class="ruby-identifier">access_token_hash</span> = {})
|
|
328
|
-
<span class="ruby-ivar">@upload_client</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">UploadClient</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">upload_params</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">conn</span><span class="ruby-operator">|</span>
|
|
329
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">request</span> <span class="ruby-value">:oauth</span>,
|
|
330
|
-
<span class="ruby-value">:consumer_key</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">api_key</span>,
|
|
331
|
-
<span class="ruby-value">:consumer_secret</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">shared_secret</span>,
|
|
332
|
-
<span class="ruby-value">:token</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">access_token_hash</span>[<span class="ruby-value">:token</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">access_token</span>,
|
|
333
|
-
<span class="ruby-value">:token_secret</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">access_token_hash</span>[<span class="ruby-value">:secret</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">access_secret</span>
|
|
334
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">request</span> <span class="ruby-value">:multipart</span>
|
|
335
|
-
|
|
336
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">use</span> <span class="ruby-constant">UploadStatusCheck</span>
|
|
337
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">response</span> <span class="ruby-value">:xml</span>
|
|
338
|
-
|
|
339
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">adapter</span> <span class="ruby-constant">Faraday</span>.<span class="ruby-identifier">default_adapter</span>
|
|
340
|
-
<span class="ruby-keyword">end</span>
|
|
341
|
-
<span class="ruby-keyword">end</span></pre>
|
|
342
|
-
</div><!-- upload_client-source -->
|
|
343
|
-
|
|
344
|
-
</div>
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
</div><!-- upload_client-method -->
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
</section><!-- public-class-method-details -->
|
|
353
|
-
|
|
354
|
-
</section><!-- 5Buntitled-5D -->
|
|
355
|
-
|
|
356
|
-
</div><!-- documentation -->
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
<footer id="validator-badges">
|
|
360
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
361
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
|
362
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
363
|
-
</footer>
|
|
364
|
-
|