module Github::Authorization

def client

Setup OAuth2 instance
def client
  @client ||= ::OAuth2::Client.new(client_id, client_secret,
    :site          => 'https://github.com',
    :authorize_url => 'login/oauth/authorize',
    :token_url     => 'login/oauth/access_token'
  )
end