This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Sep 03 11:23:02 -0700 2009 | |
| |
README | Sat Sep 12 21:53:49 -0700 2009 | |
| |
Rakefile | Thu Sep 03 13:59:33 -0700 2009 | |
| |
example/ | Fri Sep 11 06:36:33 -0700 2009 | |
| |
httpattack-lib.gemspec | Sat Sep 12 22:41:15 -0700 2009 | |
| |
lib/ | Sat Sep 12 22:41:15 -0700 2009 | |
| |
spec/ | Sat Sep 12 22:41:15 -0700 2009 |
README
The game library for HTTP Attack.
Item Protocol
-------------
Initializer must take two parameters, a username and an optional hash of settings.
SomeItem.new('luser', :set_this => 'to_this')
The Item must override the following methods:
stat
------
This method should return an Integer (or maybe a Float), which will be used to
determine the Item strength.
def stat
stats['user']['followers_count'].to_i
end
stats_url
---------
Should return a string which returns the remote API response for the Item.
Currently supports JSON.
def stats_url
URI.parse("http://example.com/users/luser.json").to_s
end







