Sha256: 7b30232eccb14bbc76c8a19e829e2371d5e7a8cae5dd83ae87d8c0d27b915268

Contents?: true

Size: 509 Bytes

Versions: 9

Compression:

Stored size: 509 Bytes

Contents

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!">>}

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
mojombo-erlectricity-1.0.0 examples/tinderl/README.md
mojombo-erlectricity-1.0.1 examples/tinderl/README.md
mojombo-erlectricity-1.0.2 examples/tinderl/README.md
erlectricity-funbox-1.1.2 examples/tinderl/README.md
beambridge-0.9.0 examples/tinderl/README.md
erlectricity-1.1.1 examples/tinderl/README.md
erlectricity-1.1.0 examples/tinderl/README.md
erlectricity-1.0.0 examples/tinderl/README.md
erlectricity-1.0.1 examples/tinderl/README.md