Module: EasyAuto::ClientWrapper

Included in:
CreateRepo, PullRequest
Defined in:
lib/easy_auto/client_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#clientObject



13
14
15
# File 'lib/easy_auto/client_wrapper.rb', line 13

def client
  Github.client
end

#usernameObject



17
18
19
# File 'lib/easy_auto/client_wrapper.rb', line 17

def username
  client..split('@').first
end