Skip to content
This repository has been archived by the owner on May 11, 2019. It is now read-only.

yalcin/APE-on-Rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APE-on-Rails
============

APE on Rails plugin for doing some basic APE routines.

Features:
* Environment based config.js
* APE Command builder and sender


Installation
============
gem based installation is not available yet

	script/plugin install git://github.com/yalcin/APE-on-Rails.git

Configuration
=============
Your ape_config.yml file under RAILS_ROOT/config directory. It's uses same naming policy with APE's config.js


Methods
=======
example:
	send_to_ape(:cmd => "send_message",
				:raw => "message",
				:channel => "lobby",
				:data => {:message => "hey there"}.to_json)

or  you may add optional parameters with :params option like:
    send_to_ape(:cmd => "send_message",
                :raw => "message",
                :channel => "lobby",
                :data => {:message => "hey there"}.to_json,
				:params => {:room_password => "lol"})

Copyright (c) 2010 Yalcin ACIKYILDIZ, released under the MIT license

About

APE (Ajax Push Engine) Rails plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages