Class: Michael::Services::Github::Users

Inherits:
Initializer show all
Defined in:
lib/michael/services/github/users.rb

Instance Attribute Summary

Attributes inherited from Initializer

#octokit

Instance Method Summary collapse

Methods inherited from Initializer

#initialize

Methods inherited from Token

#initialize, #store, #token, #validate

Constructor Details

This class inherits a constructor from Michael::Services::Github::Initializer

Instance Method Details

#userObject



10
11
12
# File 'lib/michael/services/github/users.rb', line 10

def user
  Michael::Models::User.new(octokit.user)
end