Sha256: b25be4c1634a1815737599b0515d2c7a50529c4b1167d1fbbd17b3d180b7e7e8
Contents?: true
Size: 516 Bytes
Versions: 1
Compression:
Stored size: 516 Bytes
Contents
module Ubiquitously module ProgrammersHeaven 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 create 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/programmers_heaven.rb |