Sha256: 9671c032b45717e1e9377ee7b0f9e96288caf39788848f548dc03a6b8d768978
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
module Ubiquitously module Designgizer 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 authorized?(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/designgizer.rb |