class MediaWiktory::Wikipedia::Actions::Antispoof
Check a username against AntiSpoof's normalisation checks.
Usage:
“`ruby api.antispoof.username(value).perform # returns string with raw output # or api.antispoof.username(value).response # returns output parsed and wrapped into Response
object “`
See {Base} for generic explanation of working with MediaWiki actions and {MediaWiktory::Wikipedia::Response} for working with action responses.
All action's parameters are documented as its public methods, see below.
Public Instance Methods
username(value)
click to toggle source
The username to check against AntiSpoof.
@param value [String] @return [self]
# File lib/mediawiktory/wikipedia/actions/antispoof.rb, line 26 def username(value) merge(username: value.to_s) end