Class WWW::Impostor::Phpbb3
In: lib/www/impostor/phpbb3.rb
Parent: WWW::Impostor
Impostor WWW dot/f_3.png

Methods

Public Class methods

After initializing the parent a mechanize agent is created

Additional configuration parameters:

:posting_page

Typical configuration parameters { :type => :phpbb3, :app_root => ‘example.com/forum/’, :login_page => ‘ucp.php?mode=login’, :posting_page => ‘posting.php’, :user_agent => ‘Windows IE 7’, :username => ‘myuser’, :password => ‘mypasswd’ }

Public Instance methods

does the work of logging into phpbb

clean up the state of the library and log out

Get the posting page for the application (specific to phpBB3)

Protected Instance methods

fetches the login page

Checks if the agent is already logged by stored cookie

returns the login form and its button from the login page

does the work of posting the login form

[Validate]