Method: Octokit::Error#documentation_url

Defined in:
lib/octokit/error.rb

#documentation_urlString

Documentation URL returned by the API for some errors

Returns:

  • (String)


55
56
57
# File 'lib/octokit/error.rb', line 55

def documentation_url
  data[:documentation_url] if data.is_a? Hash
end