Skip to content

Instantly share code, notes, and snippets.

@M7
Created March 27, 2012 23:45
Show Gist options
  • Save M7/2221561 to your computer and use it in GitHub Desktop.
Save M7/2221561 to your computer and use it in GitHub Desktop.
Whenbot Channel Directory Structure

Whenbot Channel Directory Structure

When creating a Channel Gem, you should use the following directory structure:

Here's an example, of the structure for a Gmail Channel:

lib
  whenbot
    whenbot_gmail.rb         
    whenbot-gmail
      service.rb
      gmail_channel
        triggers
          new_email.rb
          new_email_from.rb
        actions
          send_email.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment