Class: GitHubV3API::User

Inherits:
Entity
  • Object
show all
Defined in:
lib/github_v3_api/user.rb

Overview

Represents a single GitHub User and provides access to its data attributes.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Entity

#[], attr_reader, #initialize, #initialize_fetched, new_with_all_data

Constructor Details

This class inherits a constructor from GitHubV3API::Entity

Instance Attribute Details

#avatar_urlObject (readonly)

Returns the value of attribute avatar_url.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def avatar_url
  @avatar_url
end

#bioObject (readonly)

Returns the value of attribute bio.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def bio
  @bio
end

#blogObject (readonly)

Returns the value of attribute blog.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def blog
  @blog
end

#collaboratorsObject (readonly)

Returns the value of attribute collaborators.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def collaborators
  @collaborators
end

#companyObject (readonly)

Returns the value of attribute company.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def company
  @company
end

#created_atObject (readonly)

Returns the value of attribute created_at.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def created_at
  @created_at
end

#disk_usageObject (readonly)

Returns the value of attribute disk_usage.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def disk_usage
  @disk_usage
end

#emailObject (readonly)

Returns the value of attribute email.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def email
  @email
end

#followersObject (readonly)

Returns the value of attribute followers.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def followers
  @followers
end

#followingObject (readonly)

Returns the value of attribute following.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def following
  @following
end

#gravatar_idObject (readonly)

Returns the value of attribute gravatar_id.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def gravatar_id
  @gravatar_id
end

#hireableObject (readonly)

Returns the value of attribute hireable.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def hireable
  @hireable
end

#html_urlObject (readonly)

Returns the value of attribute html_url.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def html_url
  @html_url
end

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def id
  @id
end

#locationObject (readonly)

Returns the value of attribute location.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def location
  @location
end

#loginObject (readonly)

Returns the value of attribute login.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def 
  @login
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def name
  @name
end

#owned_private_reposObject (readonly)

Returns the value of attribute owned_private_repos.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def owned_private_repos
  @owned_private_repos
end

#private_gistsObject (readonly)

Returns the value of attribute private_gists.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def private_gists
  @private_gists
end

#public_gistsObject (readonly)

Returns the value of attribute public_gists.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def public_gists
  @public_gists
end

#public_reposObject (readonly)

Returns the value of attribute public_repos.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def public_repos
  @public_repos
end

#total_private_reposObject (readonly)

Returns the value of attribute total_private_repos.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def total_private_repos
  @total_private_repos
end

#typeObject (readonly)

Returns the value of attribute type.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def type
  @type
end

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/github_v3_api/user.rb', line 5

def url
  @url
end