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



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

def avatar_url
    @payload['avatar_url']
end

#gravatar_idObject



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

def gravatar_id
    @payload['gravatar_id']
end

#idObject



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

def id
    @payload['id']
end

#loginObject



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

def 
    @payload['login']
end

#site_adminObject



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

def site_admin
    @payload['site_admin']
end

#typeObject



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

def type
    @payload['type']
end

#urlObject



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

def url
    @payload['url']
end