class Fett::Repository

Attributes

last_branch[RW]
last_commit_url[RW]
last_message[RW]
last_pusher[RW]

Public Class Methods

new(org, repository) click to toggle source
# File lib/fett/repository.rb, line 6
def initialize(org, repository)
  @org = org
  @repository = repository
end

Public Instance Methods

==(another_repository) click to toggle source
# File lib/fett/repository.rb, line 19
def ==(another_repository)
  fullname == another_repository.fullname
end
fullname() click to toggle source
# File lib/fett/repository.rb, line 15
def fullname
  "#{@org}/#{@repository}"
end
jenkins_name() click to toggle source
# File lib/fett/repository.rb, line 11
def jenkins_name
  "#{@org}.#{@repository}"
end