Class: UserPresenter

Inherits:
BasePresenter show all
Defined in:
app/presenters/user_presenter.rb

Instance Method Summary collapse

Methods inherited from BasePresenter

inherited, #initialize, #to_model, use_presenters

Constructor Details

This class inherits a constructor from BasePresenter

Instance Method Details

#github_urlObject


8
9
10
# File 'app/presenters/user_presenter.rb', line 8

def github_url
  "https://github.com/#{user_name}"
end

#nameObject


12
13
14
# File 'app/presenters/user_presenter.rb', line 12

def name
  display_name
end

#service_nameObject


16
17
18
# File 'app/presenters/user_presenter.rb', line 16

def service_name
  provider
end