Class: Jets::Git::Base

Inherits:
Object
  • Object
show all
Extended by:
Memoist
Defined in:
lib/jets/git/base.rb

Direct Known Subclasses

Azure, Bitbucket, Circleci, Codebuild, Custom, Github, Gitlab, Local

Instance Method Summary collapse

Instance Method Details

#baseObject



15
16
17
18
19
# File 'lib/jets/git/base.rb', line 15

def base
  {
    git_user: user.name
  }
end

#infoObject

interface method



11
12
13
# File 'lib/jets/git/base.rb', line 11

def info
  {}
end

#paramsObject



5
6
7
# File 'lib/jets/git/base.rb', line 5

def params
  base.merge(info)
end

#userObject



21
22
23
# File 'lib/jets/git/base.rb', line 21

def user
  User.new
end