Class: Warden::Github::Oauth::User
- Inherits:
-
Struct
- Object
- Struct
- Warden::Github::Oauth::User
- Defined in:
- lib/warden-github/user.rb
Instance Attribute Summary collapse
-
#attribs ⇒ Object
Returns the value of attribute attribs.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
Instance Attribute Details
#attribs ⇒ Object
Returns the value of attribute attribs
4 5 6 |
# File 'lib/warden-github/user.rb', line 4 def attribs @attribs end |
#token ⇒ Object
Returns the value of attribute token
4 5 6 |
# File 'lib/warden-github/user.rb', line 4 def token @token end |
Instance Method Details
#company ⇒ Object
21 22 23 |
# File 'lib/warden-github/user.rb', line 21 def company attribs['company'] end |
#email ⇒ Object
17 18 19 |
# File 'lib/warden-github/user.rb', line 17 def email attribs['email'] end |
#gravatar_id ⇒ Object
13 14 15 |
# File 'lib/warden-github/user.rb', line 13 def gravatar_id attribs['gravatar_id'] end |
#login ⇒ Object
5 6 7 |
# File 'lib/warden-github/user.rb', line 5 def login attribs['login'] end |
#name ⇒ Object
9 10 11 |
# File 'lib/warden-github/user.rb', line 9 def name attribs['name'] end |