Exception: Wikidatum::DisallowedBotEditError

Inherits:
Error
  • Object
show all
Defined in:
lib/wikidatum.rb

Overview

If the Wikidatum::Client is set to mark their edits as belonging to a bot, they must be authenticated as a bot user. We will disallow these edits as long as they’re not authenticated as a specific user.

Instance Method Summary collapse

Instance Method Details

#messageObject



31
32
33
# File 'lib/wikidatum.rb', line 31

def message
  'No authentication provided, but attempted to edit as a bot. You cannot make edits as a bot unless you have authenticated as a user with the Bot flag.'
end