Module: RubyGitCrypt::ClassMethods

Included in:
RubyGitCrypt
Defined in:
lib/ruby_git_crypt.rb

Instance Method Summary collapse

Instance Method Details

#add_gpg_user(parameters = {}, invocation_options = {}) ⇒ Object



24
25
26
27
# File 'lib/ruby_git_crypt.rb', line 24

def add_gpg_user(parameters = {}, invocation_options = {})
  exec(RubyGitCrypt::Commands::AddGPGUser,
       parameters, invocation_options)
end

#export_key(parameters = {}, invocation_options = {}) ⇒ Object



29
30
31
32
# File 'lib/ruby_git_crypt.rb', line 29

def export_key(parameters = {}, invocation_options = {})
  exec(RubyGitCrypt::Commands::ExportKey,
       parameters, invocation_options)
end

#init(parameters = {}, invocation_options = {}) ⇒ Object



34
35
36
37
# File 'lib/ruby_git_crypt.rb', line 34

def init(parameters = {}, invocation_options = {})
  exec(RubyGitCrypt::Commands::Init,
       parameters, invocation_options)
end

#lock(parameters = {}, invocation_options = {}) ⇒ Object



39
40
41
42
# File 'lib/ruby_git_crypt.rb', line 39

def lock(parameters = {}, invocation_options = {})
  exec(RubyGitCrypt::Commands::Lock,
       parameters, invocation_options)
end

#status(parameters = {}, invocation_options = {}) ⇒ Object



44
45
46
47
# File 'lib/ruby_git_crypt.rb', line 44

def status(parameters = {}, invocation_options = {})
  exec(RubyGitCrypt::Commands::Status,
       parameters, invocation_options)
end

#unlock(parameters = {}, invocation_options = {}) ⇒ Object



49
50
51
52
# File 'lib/ruby_git_crypt.rb', line 49

def unlock(parameters = {}, invocation_options = {})
  exec(RubyGitCrypt::Commands::Unlock,
       parameters, invocation_options)
end