module Ubiquitously module WebBlend class Account < Ubiquitously::Service::Account def login page = agent.get("http://digzign.com/login") form = page.form_with(:name => "loginform") form["username"] = username form["password"] = password page = form.submit authorize!(page.title =~ /Like Digg/i) end end class Post < Ubiquitously::Service::Post def save(options = {}) return false if !valid? authorize page = agent.get("") end end end end