Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added docs, edited comments, and edited the README

  • Loading branch information...
commit 87f24beae2a3c2d9b46ac8b8470dcd3de4b49d65 1 parent c35cf6d
Matt Pruitt authored
View
2  README.txt
@@ -17,6 +17,8 @@ vid = vimeo.video(video_id)
== INSTALL:
+To install, run 'gem install rbvimeo'
+
In order to run the specs, first make a test_settings.yml file (a sample is
provided) using your api key and api secret.
View
2  lib/Video.rb
@@ -77,7 +77,7 @@ def parse_xml xml_doc
# returns an Array of comments
#
# To load a movie with vimeo id 339189:
- # @vimeo = RBVIMEO::Vimeo.new api_key, api_secret
+ #
# comments = video.comments 339189, @vimeo
def get_comments id, vimeo, xml=nil
comments = Array.new
View
3  lib/rbVimeo.rb
@@ -51,6 +51,9 @@ def video id, xml=nil
return nil if vid.id == -1
return vid
end
+
+ # Provides easier access to RBVIMEO::User
+ # user = @vimeo.user
def user
return User.new
end
View
2  pkg/rbVimeo-0.1.0/README.txt
@@ -17,6 +17,8 @@ vid = vimeo.video(video_id)
== INSTALL:
+To install, run 'gem install rbvimeo'
+
In order to run the specs, first make a test_settings.yml file (a sample is
provided) using your api key and api secret.
View
2  pkg/rbVimeo-0.1.0/lib/Video.rb
@@ -77,7 +77,7 @@ def parse_xml xml_doc
# returns an Array of comments
#
# To load a movie with vimeo id 339189:
- # @vimeo = RBVIMEO::Vimeo.new api_key, api_secret
+ #
# comments = video.comments 339189, @vimeo
def get_comments id, vimeo, xml=nil
comments = Array.new
View
3  pkg/rbVimeo-0.1.0/lib/rbVimeo.rb
@@ -51,6 +51,9 @@ def video id, xml=nil
return nil if vid.id == -1
return vid
end
+
+ # Provides easier access to RBVIMEO::User
+ # user = @vimeo.user
def user
return User.new
end
View
2  pkg/rbvimeo-0.1.0/README.txt
@@ -17,6 +17,8 @@ vid = vimeo.video(video_id)
== INSTALL:
+To install, run 'gem install rbvimeo'
+
In order to run the specs, first make a test_settings.yml file (a sample is
provided) using your api key and api secret.
View
2  pkg/rbvimeo-0.1.0/lib/Video.rb
@@ -77,7 +77,7 @@ def parse_xml xml_doc
# returns an Array of comments
#
# To load a movie with vimeo id 339189:
- # @vimeo = RBVIMEO::Vimeo.new api_key, api_secret
+ #
# comments = video.comments 339189, @vimeo
def get_comments id, vimeo, xml=nil
comments = Array.new
View
3  pkg/rbvimeo-0.1.0/lib/rbVimeo.rb
@@ -51,6 +51,9 @@ def video id, xml=nil
return nil if vid.id == -1
return vid
end
+
+ # Provides easier access to RBVIMEO::User
+ # user = @vimeo.user
def user
return User.new
end
Please sign in to comment.
Something went wrong with that request. Please try again.