public
Description: Allows you to generate an ActiveResource model ready to interact with the You Tube API.
Homepage: http://rdoc.info/projects/edgarjs/youtube-model
Clone URL: git://github.com/edgarjs/youtube-model.git
Click here to lend your support to: youtube-model and make a donation at www.pledgie.com !
edgarjs (author)
Fri May 08 06:56:49 -0700 2009
commit  330978070456f664f7324041abd6c2c937ad0121
tree    48b1da0497fa4e173fef676bdb8549bae90ebad8
parent  531c98648c104324aeca1f43cc4b1d55f8258452
youtube-model / init.rb
100644 5 lines (4 sloc) 0.161 kb
1
2
3
4
5
require 'you_tube_model'
require 'you_tube_helpers'
 
ActiveResource::Base.send(:include, YouTubeModel)
ActionView::Base.send(:include, YouTubeModel::Helpers)