Sha256: df0395f440721cd35b9e63fe3c6963936a6c6fe217a942b9598d03f22e58017e
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
module Ubiquitously module Smipple class Account < Ubiquitously::Service::Account def login page = agent.get("http://service.com/login") form = page.form_with(:name => "loginform") form["username"] = username form["password"] = password page = form.submit authorize!(page.title =~ /Some title/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/smipple.rb |