Class: Warden::Github::Oauth::User

Inherits:
Struct
  • Object
show all
Defined in:
lib/warden-github/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attribsObject

Returns the value of attribute attribs

Returns:

  • (Object)

    the current value of attribs



4
5
6
# File 'lib/warden-github/user.rb', line 4

def attribs
  @attribs
end

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



4
5
6
# File 'lib/warden-github/user.rb', line 4

def token
  @token
end

Instance Method Details

#companyObject



21
22
23
# File 'lib/warden-github/user.rb', line 21

def company
  attribs['company']
end

#emailObject



17
18
19
# File 'lib/warden-github/user.rb', line 17

def email
  attribs['email']
end

#gravatar_idObject



13
14
15
# File 'lib/warden-github/user.rb', line 13

def gravatar_id
  attribs['gravatar_id']
end

#loginObject



5
6
7
# File 'lib/warden-github/user.rb', line 5

def 
  attribs['login']
end

#nameObject



9
10
11
# File 'lib/warden-github/user.rb', line 9

def name
  attribs['name']
end