Sha256: 5d29af149a0b5e2fb22bba3b1dbb2c398a75587fbbf79299bdb1c1a91e28922c
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
# http://www.mmosocialnetwork.com/ module Ubiquitously module Mmo 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/mmo.rb |