diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/custodian/queue.rb | 34 | 
1 files changed, 34 insertions, 0 deletions
| diff --git a/lib/custodian/queue.rb b/lib/custodian/queue.rb new file mode 100644 index 0000000..1e0004f --- /dev/null +++ b/lib/custodian/queue.rb @@ -0,0 +1,34 @@ + + +# +# Interface for our queue. +# +# We'll use this rather than the beanstalk-client +# +class Queue + +   # +   # Constructor +   # +   def initialize( server ) +   end + +   # +   # Put an object. +   # +   # The object is serialized via JSON +   # +   def put( object ) +   end + +   # +   # Retrieve a native object from the Queue. +   # +   # The object is deserialized using JSON. +   # +   # This method will not return until there is an object present. +   # +   def fetch +   end + +end | 
