Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby Gem for Flowdock API

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.document
.gitignore
.rspec
.travis.yml
Gemfile
MIT-LICENSE
README.md
Rakefile
VERSION
flowdock.gemspec

README.md

Flowdock

Ruby Gem for using the Flowdock API.

http://www.flowdock.com/api

Build Status

Build Status

flowdock gem is tested on Ruby 1.8.7, 1.9.3 and JRuby.

Requirements

  • HTTParty

Installing

gem install flowdock

If you're using JRuby, you'll also need to install jruby-openssl gem.

Example

require 'rubygems'
require 'flowdock'

# create a new Flow object with target flow's api token and sender information
flow = Flowdock::Flow.new(:api_token => "56188e2003e370c6efa9711988f7bf02", 
  :source => "myapp", 
  :from => {:name => "John Doe", :address => "john.doe@example.com"})

# send message to the flow
flow.send_message(:subject => "Greetings from Flowdock API Gem!", 
  :content => "<h2>It works!</h2><p>Now you can start developing your awesome application for Flowdock.</p>", 
  :tags => ["cool", "stuff"], :link => "http://www.flowdock.com/")

API methods

  • Flow methods

    send_message(params) - Send message to flow. See API documentation for details.

Copyright

Copyright (c) 2011 Flowdock Ltd. See MIT-LICENSE for further details.

Something went wrong with that request. Please try again.