Sha256: 5a1a89386ebcf870a6ff9655dd92dfabe4cd66371c538ff10805cfea968099ad

Contents?: true

Size: 129 Bytes

Versions: 9

Compression:

Stored size: 129 Bytes

Contents

require 'blather/client'

setup 'echo@jabber.local/pong', 'echo'
message :chat?, :body => 'ping' do |m|
  say m.from, 'pong'
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
sprsquish-blather-0.4.2 examples/pong.rb
sprsquish-blather-0.4.3 examples/pong.rb
sprsquish-blather-0.4.4 examples/pong.rb
blather-0.4.7 examples/pong.rb
blather-0.4.6 examples/pong.rb
blather-0.4.5 examples/pong.rb
blather-0.4.4 examples/pong.rb
blather-0.4.3 examples/pong.rb
blather-0.4.2 examples/pong.rb