Class: Octokit::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/octospy/octokit/client.rb

Instance Method Summary collapse

Instance Method Details

#user?(user, options = {}) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
6
7
# File 'lib/octospy/octokit/client.rb', line 3

def user?(user, options = {})
  user(user)
rescue Octokit::NotFound
  false
end