Class: Ghub::Endpoints::Users::Models::Show

Inherits:
Struct
  • Object
show all
Defined in:
lib/ghub/endpoints/users/models/show.rb

Overview

Defines a single user.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeShow

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_urlObject

Returns the value of attribute avatar_url

Returns:

  • (Object)

    the current value of avatar_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def avatar_url
  @avatar_url
end

#bioObject

Returns the value of attribute bio

Returns:

  • (Object)

    the current value of bio



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def bio
  @bio
end

#blogObject

Returns the value of attribute blog

Returns:

  • (Object)

    the current value of blog



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def blog
  @blog
end

#companyObject

Returns the value of attribute company

Returns:

  • (Object)

    the current value of company



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def company
  @company
end

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def created_at
  @created_at
end

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def email
  @email
end

#events_urlObject

Returns the value of attribute events_url

Returns:

  • (Object)

    the current value of events_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def events_url
  @events_url
end

#followersObject

Returns the value of attribute followers

Returns:

  • (Object)

    the current value of followers



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def followers
  @followers
end

#followers_urlObject

Returns the value of attribute followers_url

Returns:

  • (Object)

    the current value of followers_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def followers_url
  @followers_url
end

#followingObject

Returns the value of attribute following

Returns:

  • (Object)

    the current value of following



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def following
  @following
end

#following_urlObject

Returns the value of attribute following_url

Returns:

  • (Object)

    the current value of following_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def following_url
  @following_url
end

#gists_urlObject

Returns the value of attribute gists_url

Returns:

  • (Object)

    the current value of gists_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def gists_url
  @gists_url
end

#gravatar_idObject

Returns the value of attribute gravatar_id

Returns:

  • (Object)

    the current value of gravatar_id



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def gravatar_id
  @gravatar_id
end

#hireableObject

Returns the value of attribute hireable

Returns:

  • (Object)

    the current value of hireable



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def hireable
  @hireable
end

#html_urlObject

Returns the value of attribute html_url

Returns:

  • (Object)

    the current value of html_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def html_url
  @html_url
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def id
  @id
end

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def location
  @location
end

#loginObject

Returns the value of attribute login

Returns:

  • (Object)

    the current value of login



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def 
  @login
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def name
  @name
end

#node_idObject

Returns the value of attribute node_id

Returns:

  • (Object)

    the current value of node_id



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def node_id
  @node_id
end

#organizations_urlObject

Returns the value of attribute organizations_url

Returns:

  • (Object)

    the current value of organizations_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def organizations_url
  @organizations_url
end

#public_gistsObject

Returns the value of attribute public_gists

Returns:

  • (Object)

    the current value of public_gists



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def public_gists
  @public_gists
end

#public_reposObject

Returns the value of attribute public_repos

Returns:

  • (Object)

    the current value of public_repos



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def public_repos
  @public_repos
end

#received_events_urlObject

Returns the value of attribute received_events_url

Returns:

  • (Object)

    the current value of 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_urlObject

Returns the value of attribute repos_url

Returns:

  • (Object)

    the current value of repos_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def repos_url
  @repos_url
end

#site_adminObject

Returns the value of attribute site_admin

Returns:

  • (Object)

    the current value of site_admin



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def site_admin
  @site_admin
end

#starred_urlObject

Returns the value of attribute starred_url

Returns:

  • (Object)

    the current value of starred_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def starred_url
  @starred_url
end

#subscriptions_urlObject

Returns the value of attribute subscriptions_url

Returns:

  • (Object)

    the current value of subscriptions_url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def subscriptions_url
  @subscriptions_url
end

#twitter_usernameObject

Returns the value of attribute twitter_username

Returns:

  • (Object)

    the current value of twitter_username



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def twitter_username
  @twitter_username
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



8
9
10
# File 'lib/ghub/endpoints/users/models/show.rb', line 8

def url
  @url
end

Class Method Details

.forObject



42
# File 'lib/ghub/endpoints/users/models/show.rb', line 42

def self.for(**) = new(**)