Trying to reduce the complexity of WpUser#brute_force

This commit is contained in:
erwanlr
2013-04-17 12:48:18 +02:00
parent 0c8c5e2928
commit 4c57a00660
4 changed files with 62 additions and 25 deletions

View File

@@ -21,6 +21,11 @@ class WpUser < WpItem
end
end
# @return [ String ]
def login_url
@uri.merge('wp-login.php').to_s
end
# @return [ String ]
def to_s
s = "#{id}"