Class: TrelloFlow::Repo
- Inherits:
-
Object
- Object
- TrelloFlow::Repo
- Defined in:
- lib/trello_flow/repo.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
7 8 9 |
# File 'lib/trello_flow/repo.rb', line 7 def name path.split('/').last end |
#url ⇒ Object
11 12 13 |
# File 'lib/trello_flow/repo.rb', line 11 def url "https://github.com/#{user}/#{name}" end |
#user ⇒ Object
3 4 5 |
# File 'lib/trello_flow/repo.rb', line 3 def user path.split('/').first end |