Class: Ghub::Endpoints::Users::Models::Index
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Endpoints::Users::Models::Index
- Defined in:
- lib/ghub/endpoints/users/models/index.rb
Overview
Defines a user within a collection.
Instance Attribute Summary collapse
-
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
-
#events_url ⇒ Object
Returns the value of attribute events_url.
-
#followers_url ⇒ Object
Returns the value of attribute followers_url.
-
#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.
-
#html_url ⇒ Object
Returns the value of attribute html_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#login ⇒ Object
Returns the value of attribute login.
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#organizations_url ⇒ Object
Returns the value of attribute organizations_url.
-
#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.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Index
constructor
A new instance of Index.
Constructor Details
#initialize ⇒ Index
Returns a new instance of Index.
30 31 32 33 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 30 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/index.rb', line 8 def avatar_url @avatar_url end |
#events_url ⇒ Object
Returns the value of attribute events_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 8 def events_url @events_url end |
#followers_url ⇒ Object
Returns the value of attribute followers_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 8 def followers_url @followers_url end |
#following_url ⇒ Object
Returns the value of attribute following_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.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/index.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/index.rb', line 8 def gravatar_id @gravatar_id end |
#html_url ⇒ Object
Returns the value of attribute html_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.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/index.rb', line 8 def id @id end |
#login ⇒ Object
Returns the value of attribute login
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 8 def login @login end |
#node_id ⇒ Object
Returns the value of attribute node_id
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.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/index.rb', line 8 def organizations_url @organizations_url end |
#received_events_url ⇒ Object
Returns the value of attribute received_events_url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.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/index.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/index.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/index.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/index.rb', line 8 def subscriptions_url @subscriptions_url end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 8 def type @type end |
#url ⇒ Object
Returns the value of attribute url
8 9 10 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 8 def url @url end |
Class Method Details
.for ⇒ Object
28 |
# File 'lib/ghub/endpoints/users/models/index.rb', line 28 def self.for(**) = new(**) |