Exception: Wikidatum::Errors::DisallowedIpEditError

Inherits:
Wikidatum::Error
  • Object
show all
Defined in:
lib/wikidatum/errors.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



10
11
12
# File 'lib/wikidatum/errors.rb', line 10

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