Class: Avm::Launcher::Instances::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/launcher/instances/settings.rb

Constant Summary collapse

DEFAULT_CURRENT_REVISION =
'origin/master'
DEFAULT_PUBLISH_REMOTE =
'publish'

Instance Method Summary collapse

Instance Method Details

#git_current_revisionObject



16
17
18
# File 'lib/avm/launcher/instances/settings.rb', line 16

def git_current_revision
  data[__method__] || DEFAULT_CURRENT_REVISION
end

#git_publish_remoteObject



20
21
22
# File 'lib/avm/launcher/instances/settings.rb', line 20

def git_publish_remote
  data[__method__] || DEFAULT_PUBLISH_REMOTE
end