def grab(table_id, relative_wiki_page_url)
      @agent.log_in
      wiki_page = WebPage.new(@agent.get(relative_wiki_page_url))
      requested_table = wiki_page.find_table(table_id)
      requested_table.deserialize
    end
def grab(table_id, relative_wiki_page_url)
      @agent.log_in
      wiki_page = WebPage.new(@agent.get(relative_wiki_page_url))
      requested_table = wiki_page.find_table(table_id)
      requested_table.deserialize
    end
Public: Initializes new instance of Shaft class.

 username - The username to log in with on the specified Redmine site.
 password - The password to log in with on the specified Redmine site.
 base_uri - The URL of the Redmine installation.

 Examples

   shaft = Shaft.new('uname', 'password', 'http://myredmineinstall.com')

 Returns a new instance of the Shaft class.
 Public: Logs in and parses the specified page for a <table> with the
         specified ID.

 table_id               - The HTML id of the desired table as a String.
 relative_wiki_page_url - The relative URL of the page within the Redmine
                          site.

 Examples

   shaft.grab('names', '/projects/name-parser/Wiki/Name_Data')

 Returns an Array of Hash objects.  Each Hash element is a
   key-value mapping of "table header"-"row content". (Note that the
   the key is a downcased-symbol of the heading value).
 Raises FailedLogin if the login failed
 Raises InvalidPage if the login page of the site renders a 404
        OR if a table with the supplied ID is not found on the
        specified page.