Skip to content

Instantly share code, notes, and snippets.

@laser
Last active August 29, 2015 13:59
Show Gist options
  • Save laser/10668351 to your computer and use it in GitHub Desktop.
Save laser/10668351 to your computer and use it in GitHub Desktop.
08: MailService RedisContainer
# services/mail_service/main.rb
require 'barrister-redis'
opts = {
database_url: ENV['OPENREDIS_URL'],
list_name: 'mail_service'
}
Barrister::RedisContainer.new('./interface.json', MailService.new, opts).start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment