Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.1.1

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 README.md
Octocat-spinner-32 tinderl.erl
Octocat-spinner-32 tinderl.rb
README.md

This is a more advanced example of Erlectricity that shows how you can integrate with Campfire via the Ruby "tinder" gem.

$ cd examples/tinderl
$ erl
Erlang (BEAM) emulator version 5.6.4 [source] [smp:2] [async-threads:0] [kernel-poll:false]

Eshell V5.6.4  (abort with ^G)
1> c(tinderl).
{ok,tinderl}
2> tinderl:start("example.campfireapp.com", "tom@example.com", "secret", "My Room").
<0.38.0>
5> tinderl:speak("Hello, World!").
{speak,<0.31.0>,<<"Hello, World!">>}
Something went wrong with that request. Please try again.