Exception: Wikidatum::DisallowedIpEditError

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

Overview

If the Wikidatum::Client is set to disallow IP Edits (the default) and no authentication has been provided, this error will be raised when performing any non-GET requests.

Instance Method Summary collapse

Instance Method Details

#messageObject



22
23
24
# File 'lib/wikidatum.rb', line 22

def message
  'No authentication provided. If you want to perform unauthenticated edits and are comfortable exposing your IP address publicly, set `allow_ip_edits: true` when instantiating your client with `Wikidatum::Client.new`.'
end