Method: Crowdkit::ServiceError#documentation_url

Defined in:
lib/crowdkit/error.rb

#documentation_urlString

Documentation URL returned by the API for some errors

Returns:

  • (String)


99
100
101
# File 'lib/crowdkit/error.rb', line 99

def documentation_url
  data[:_links][:documentation] if data.is_a?(Hash) && data[:_links]
end