Class: Ghub::Endpoints::Users::Models::Show
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Endpoints::Users::Models::Show
- Defined in:
- lib/ghub/endpoints/users/models/show.rb
Overview
Defines a single user.
Instance Attribute Summary collapse
-
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
-
#bio ⇒ Object
Returns the value of attribute bio.
-
#blog ⇒ Object
Returns the value of attribute blog.
-
#company ⇒ Object
Returns the value of attribute company.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#email ⇒ Object
Returns the value of attribute email.
-
#events_url ⇒ Object
Returns the value of attribute events_url.
-
#followers ⇒ Object
Returns the value of attribute followers.
-
#followers_url ⇒ Object
Returns the value of attribute followers_url.
-
#following ⇒ Object
Returns the value of attribute following.
-
#following_url ⇒ Object
Returns the value of attribute following_url.
-
#gists_url ⇒ Object
Returns the value of attribute gists_url.
-
#gravatar_id ⇒ Object
Returns the value of attribute gravatar_id.
-
#hireable ⇒ Object
Returns the value of attribute hireable.
-
#html_url ⇒ Object
Returns the value of attribute html_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#login ⇒ Object
Returns the value of attribute login.
-
#name ⇒ Object
Returns the value of attribute name.
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#organizations_url ⇒ Object
Returns the value of attribute organizations_url.
-
#public_gists ⇒ Object
Returns the value of attribute public_gists.
-
#public_repos ⇒ Object
Returns the value of attribute public_repos.
-
#received_events_url ⇒ Object
Returns the value of attribute received_events_url.
-
#repos_url ⇒ Object
Returns the value of attribute repos_url.
-
#site_admin ⇒ Object
Returns the value of attribute site_admin.
-
#starred_url ⇒ Object
Returns the value of attribute starred_url.
-
#subscriptions_url ⇒ Object
Returns the value of attribute subscriptions_url.
-
#twitter_username ⇒ Object
Returns the value of attribute twitter_username.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Show
constructor
A new instance of Show.
Constructor Details
#initialize ⇒ Show
Returns a new instance of Show.
44 45 46 47 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 44 def initialize(**) super freeze end |
Instance Attribute Details
#avatar_url ⇒ Object
Returns the value of attribute avatar_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def avatar_url @avatar_url end |
#bio ⇒ Object
Returns the value of attribute bio
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def bio @bio end |
#blog ⇒ Object
Returns the value of attribute blog
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def blog @blog end |
#company ⇒ Object
Returns the value of attribute company
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def company @company end |
#created_at ⇒ Object
Returns the value of attribute created_at
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def created_at @created_at end |
#email ⇒ Object
Returns the value of attribute email
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def email @email end |
#events_url ⇒ Object
Returns the value of attribute events_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def events_url @events_url end |
#followers ⇒ Object
Returns the value of attribute followers
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def followers @followers end |
#followers_url ⇒ Object
Returns the value of attribute followers_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def followers_url @followers_url end |
#following ⇒ Object
Returns the value of attribute following
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def following @following end |
#following_url ⇒ Object
Returns the value of attribute following_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def following_url @following_url end |
#gists_url ⇒ Object
Returns the value of attribute gists_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def gists_url @gists_url end |
#gravatar_id ⇒ Object
Returns the value of attribute gravatar_id
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def gravatar_id @gravatar_id end |
#hireable ⇒ Object
Returns the value of attribute hireable
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def hireable @hireable end |
#html_url ⇒ Object
Returns the value of attribute html_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def html_url @html_url end |
#id ⇒ Object
Returns the value of attribute id
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def id @id end |
#location ⇒ Object
Returns the value of attribute location
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def location @location end |
#login ⇒ Object
Returns the value of attribute login
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def login @login end |
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def name @name end |
#node_id ⇒ Object
Returns the value of attribute node_id
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def node_id @node_id end |
#organizations_url ⇒ Object
Returns the value of attribute organizations_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def organizations_url @organizations_url end |
#public_gists ⇒ Object
Returns the value of attribute public_gists
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def public_gists @public_gists end |
#public_repos ⇒ Object
Returns the value of attribute public_repos
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def public_repos @public_repos end |
#received_events_url ⇒ Object
Returns the value of attribute received_events_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def received_events_url @received_events_url end |
#repos_url ⇒ Object
Returns the value of attribute repos_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def repos_url @repos_url end |
#site_admin ⇒ Object
Returns the value of attribute site_admin
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def site_admin @site_admin end |
#starred_url ⇒ Object
Returns the value of attribute starred_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def starred_url @starred_url end |
#subscriptions_url ⇒ Object
Returns the value of attribute subscriptions_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def subscriptions_url @subscriptions_url end |
#twitter_username ⇒ Object
Returns the value of attribute twitter_username
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def twitter_username @twitter_username end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def updated_at @updated_at end |
#url ⇒ Object
Returns the value of attribute url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 8 def url @url end |
Class Method Details
.for ⇒ Object
42 |
# File 'lib/ghub/endpoints/users/models/show.rb', line 42 def self.for(**) = new(**) |