Class: GitHubV3API::User
Overview
Represents a single GitHub User and provides access to its data attributes.
Instance Attribute Summary (collapse)
-
- (Object) avatar_url
readonly
Returns the value of attribute avatar_url.
-
- (Object) bio
readonly
Returns the value of attribute bio.
-
- (Object) blog
readonly
Returns the value of attribute blog.
-
- (Object) collaborators
readonly
Returns the value of attribute collaborators.
-
- (Object) company
readonly
Returns the value of attribute company.
-
- (Object) created_at
readonly
Returns the value of attribute created_at.
-
- (Object) disk_usage
readonly
Returns the value of attribute disk_usage.
-
- (Object) email
readonly
Returns the value of attribute email.
-
- (Object) followers
readonly
Returns the value of attribute followers.
-
- (Object) following
readonly
Returns the value of attribute following.
-
- (Object) gravatar_id
readonly
Returns the value of attribute gravatar_id.
-
- (Object) hireable
readonly
Returns the value of attribute hireable.
-
- (Object) html_url
readonly
Returns the value of attribute html_url.
-
- (Object) id
readonly
Returns the value of attribute id.
-
- (Object) location
readonly
Returns the value of attribute location.
-
- (Object) login
readonly
Returns the value of attribute login.
-
- (Object) name
readonly
Returns the value of attribute name.
-
- (Object) owned_private_repos
readonly
Returns the value of attribute owned_private_repos.
-
- (Object) private_gists
readonly
Returns the value of attribute private_gists.
-
- (Object) public_gists
readonly
Returns the value of attribute public_gists.
-
- (Object) public_repos
readonly
Returns the value of attribute public_repos.
-
- (Object) total_private_repos
readonly
Returns the value of attribute total_private_repos.
-
- (Object) type
readonly
Returns the value of attribute type.
-
- (Object) url
readonly
Returns the value of attribute url.
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
- (Object) avatar_url (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 |
- (Object) bio (readonly)
Returns the value of attribute bio
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def bio @bio end |
- (Object) blog (readonly)
Returns the value of attribute blog
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def blog @blog end |
- (Object) collaborators (readonly)
Returns the value of attribute collaborators
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def collaborators @collaborators end |
- (Object) company (readonly)
Returns the value of attribute company
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def company @company end |
- (Object) created_at (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 |
- (Object) disk_usage (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 |
- (Object) email (readonly)
Returns the value of attribute email
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def email @email end |
- (Object) followers (readonly)
Returns the value of attribute followers
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def followers @followers end |
- (Object) following (readonly)
Returns the value of attribute following
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def following @following end |
- (Object) gravatar_id (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 |
- (Object) hireable (readonly)
Returns the value of attribute hireable
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def hireable @hireable end |
- (Object) html_url (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 |
- (Object) id (readonly)
Returns the value of attribute id
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def id @id end |
- (Object) location (readonly)
Returns the value of attribute location
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def location @location end |
- (Object) login (readonly)
Returns the value of attribute login
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def login @login end |
- (Object) name (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def name @name end |
- (Object) owned_private_repos (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 |
- (Object) private_gists (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 |
- (Object) public_gists (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 |
- (Object) public_repos (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 |
- (Object) total_private_repos (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 |
- (Object) type (readonly)
Returns the value of attribute type
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def type @type end |
- (Object) url (readonly)
Returns the value of attribute url
5 6 7 |
# File 'lib/github_v3_api/user.rb', line 5 def url @url end |