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