jwbynum-vimeo 0.2.2 → 0.2.3
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.rdoc +3 -0
- data/lib/vimeo/advanced/video.rb +5 -5
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
data/lib/vimeo/advanced/video.rb
CHANGED
@@ -111,10 +111,10 @@ module Vimeo
|
|
111
111
|
def search(q, options={ :page => 1, :per_page => 25, :full_response => 0, :auth_token => nil })
|
112
112
|
user_id = options[:user_id]
|
113
113
|
contacts_only = options[:contacts_only]
|
114
|
-
|
114
|
+
|
115
115
|
|
116
116
|
sig_options = {
|
117
|
-
:query =>
|
117
|
+
:query => q,
|
118
118
|
:page => options[:page],
|
119
119
|
:per_page => options[:per_page],
|
120
120
|
:fullResponse => options[:full_response],
|
@@ -158,7 +158,7 @@ module Vimeo
|
|
158
158
|
end
|
159
159
|
|
160
160
|
def set_title(video_id, title, auth_token)
|
161
|
-
|
161
|
+
|
162
162
|
|
163
163
|
sig_options = {
|
164
164
|
:video_id => video_id,
|
@@ -171,11 +171,11 @@ module Vimeo
|
|
171
171
|
end
|
172
172
|
|
173
173
|
def set_caption(video_id, caption, auth_token)
|
174
|
-
|
174
|
+
|
175
175
|
|
176
176
|
sig_options = {
|
177
177
|
:video_id => video_id,
|
178
|
-
:caption =>
|
178
|
+
:caption => caption,
|
179
179
|
:auth_token => auth_token,
|
180
180
|
:method => "vimeo.videos.setCaption"
|
181
181
|
}
|