Skip to content

briandoll/rit_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rit-client

rit-client is a Rails plugin that provides access to the Rit. content scheduling system.

Please see the Rit documentation and wiki for more information on Rit.

Install

./script/plugin install git://github.com/briandoll/rit_client.git

Configure

# In config/initializers/rit.rb
RIT_HOST = 'rit.example.com'
RIT_PORT = 8080

Basic Usage

Once the plugin is installed you'll be able to access Rit. content from your controllers and views.

A safe method that returns nil if no content is found:

rit_plate(layout_name, instance_name, plate_name)

An 'unsafe' method that may throw either a Rit::NotFoundError or a Rit::TimeoutError

rit_plate!(layout_name, instance_name, plate_name)

Usage with Rit

See the Rit wiki for detailed usage with Rit.

Copyright (c) 2009, 2010 Brian Doll, Kasima Tharnpipitchai, Sheet Music Plus LLC, released under the MIT license

About

A Rails plugin providing convenient access methods to a Rit. content scheduling system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages