Class: GHArchive::User

Inherits:
Entity
  • Object
show all
Defined in:
lib/gh-archive/entities.rb

Instance Method Summary collapse

Methods inherited from Entity

#initialize

Constructor Details

This class inherits a constructor from GHArchive::Entity

Instance Method Details

#avatar_urlObject



59
60
61
# File 'lib/gh-archive/entities.rb', line 59

def avatar_url
    @payload['avatar_url']
end

#gravatar_idObject



55
56
57
# File 'lib/gh-archive/entities.rb', line 55

def gravatar_id
    @payload['gravatar_id']
end

#idObject



39
40
41
# File 'lib/gh-archive/entities.rb', line 39

def id
    @payload['id']
end

#loginObject



51
52
53
# File 'lib/gh-archive/entities.rb', line 51

def 
    @payload['login']
end

#site_adminObject



63
64
65
# File 'lib/gh-archive/entities.rb', line 63

def site_admin
    @payload['site_admin']
end

#typeObject



47
48
49
# File 'lib/gh-archive/entities.rb', line 47

def type
    @payload['type']
end

#urlObject



43
44
45
# File 'lib/gh-archive/entities.rb', line 43

def url
    @payload['url']
end