Sha256: 6278c8d94395d925e7e2f434e8ddc9ae73c91382f400c4596c44d7eca85fb2f9
Contents?: true
Size: 587 Bytes
Versions: 1
Compression:
Stored size: 587 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ubiquitously-0.1.0 | lib/ubiquitously/services/web_blend.rb |