Sha256: c95f310d9e08aa5875752a19c456eb7fc78388a81b82de65f55f23cd19e66a65
Contents?: true
Size: 340 Bytes
Versions: 3
Compression:
Stored size: 340 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- require 'rubygems' $:.unshift File.expand_path '../lib', File.dirname(__FILE__) require 'skype' chats = Skype.chats puts "#{chats.length} chats found" chat = chats.find{|c| c.members.include? "shokaishokai" and c.topic =~ /test/} p chat chat.post "test" chat.messages.each do |m| puts m end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
skype-0.1.2 | samples/chat.rb |
skype-0.1.1 | samples/chat.rb |
skype-0.1.0 | samples/chat.rb |