forked from ascarter/workling
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added rudeq client. remove this when it has been added to rudeq
- Loading branch information
1 parent
0c42df3
commit 1978b30
Showing
4 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# A RudeQ client that behvaes somewhat like memcache-client | ||
# | ||
module RudeQ | ||
class Client | ||
def initialize(*args); super(); end | ||
def set(key, value); RudeQueue.set(key, value); end; | ||
def get(key); RudeQueue.get(key); end; | ||
def stats; ActiveRecord::Base.connection; end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters