Class: EySecrets::CopyFiles

Inherits:
Struct
  • Object
show all
Includes:
CommandBuilder
Defined in:
lib/ey_secrets/actions/copy_files.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from CommandBuilder

#commands, #scp, #ssh

Instance Attribute Details

#instanceObject

Returns the value of attribute instance



2
3
4
# File 'lib/ey_secrets/actions/copy_files.rb', line 2

def instance
  @instance
end

#optionsObject

Returns the value of attribute options



2
3
4
# File 'lib/ey_secrets/actions/copy_files.rb', line 2

def options
  @options
end

#repositoryObject

Returns the value of attribute repository



2
3
4
# File 'lib/ey_secrets/actions/copy_files.rb', line 2

def repository
  @repository
end

Instance Method Details

#buildObject



5
6
7
8
# File 'lib/ey_secrets/actions/copy_files.rb', line 5

def build
  ensure_config_dir!
  copy_env_files
end