Add dropbox agent to emit urls for the given paths.

This agent receives events with dropbox paths and emits temporary unique dropbox urls.
Perfect!  Be cool to put a wiki page / example Scenario together sometime
too, maybe when your Dropbox efforts are complete.  :)

On Saturday, October 18, 2014, Guilherme J. Tramontina <
notifications@github.com> wrote:

> In app/models/agents/dropbox_file_url_agent.rb:
>
> > @@ -0,0 +1,56 @@
> > +module Agents
> > +  class DropboxFileUrlAgent < Agent
> > +    include DropboxConcern
> > +
> > +    cannot_be_scheduled!
> > +
> > +    description <<-MD
> > +      #{'## Include the `dropbox-api` and `omniauth-dropbox` gems in your `Gemfile` and set `DROPBOX_OAUTH_KEY` and `DROPBOX_OAUTH_SECRET` in your environment to use Dropbox Agents.' if dependencies_missing?}
> > +      The _DropboxFileUrlAgent_ takes a file path (or multiple files paths) and emits
>
> How about this:
>
> An example of usage would be to watch a specific Dropbox directory (with
> the *DropboxWatchAgent*) and get the URLs for the added or updated files.
> You could then, for example, send emails with those links.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cantino/huginn/pull/582/files#r19055800>.
>