Class: TrelloFlow::Repo

Inherits:
Object
  • Object
show all
Defined in:
lib/trello_flow/repo.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



7
8
9
# File 'lib/trello_flow/repo.rb', line 7

def name
  path.split('/').last
end

#urlObject



11
12
13
# File 'lib/trello_flow/repo.rb', line 11

def url
  "https://github.com/#{user}/#{name}"
end

#userObject



3
4
5
# File 'lib/trello_flow/repo.rb', line 3

def user
  path.split('/').first
end