-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError: undefined method `get_videos' #21
Comments
I'm running into similar problem in the script/console. Inspecting the list of available methods for this object showed "get_uploaded_list", and "get_list". But if I do test.get_uploaded_list I get back a HTML response of "Page not found" from Vimeo. Anybody have any luck? |
Got it working in the app application.rb
my controller for admin_videos (using active_admin)
if interested check out http://www.sebmontaz.com theres some great footage on there, in the process of building a store for it |
Awesome! Thanks for the quick response. Will give it a shot. |
No sure why this is. Works fine in Simple mode, but when I use my authentication for the Advanced mode
i do
test = Vimeo::Advanced::Video.new("xxxxx", "xxxxx", :token => "xxxx", :secret => "xxxxx")
I have the appropriate token and secret in db
which generates
<Vimeo::Advanced::Video:0x387e878 @access_token=#<OAuth::AccessToken:0x387e814 @params={}, @consumer=#<OAuth::Consumer:0x387e828 @options={:signature_method=>"HMAC-SHA1", :access_token_path=>"/oauth/access_token", :http_method=>:get, :scheme=>:header, :oauth_version=>"1.0", :site=>"http://vimeo.com", :proxy=>nil, :request_token_path=>"/oauth/request_token", :authorize_path=>"/oauth/authorize"}, @key="xxxxxx", @secret="xxxxxx">, @secret="xxxxxx", @token="xxxxxxx">, @oauth_consumer=#<OAuth::Consumer:0x387e828 @options={:signature_method=>"HMAC-SHA1", :access_token_path=>"/oauth/access_token", :http_method=>:get, :scheme=>:header, :oauth_version=>"1.0", :site=>"http://vimeo.com", :proxy=>nil, :request_token_path=>"/oauth/request_token", :authorize_path=>"/oauth/authorize"}, @key="xxxxxx", @secret="xxxxxx">>
then do
test.get_videos("chamonix")
and I get
NoMethodError: undefined method `get_videos' for #Vimeo::Advanced::Video:0x387e878
from (irb):12
Any ideas
The text was updated successfully, but these errors were encountered: