Class: Skylight::Util::Deploy::GitDeploy Private

Inherits:
EmptyDeploy show all
Defined in:
lib/skylight/util/deploy.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Attributes inherited from EmptyDeploy

#config, #timestamp

Instance Method Summary collapse

Methods inherited from EmptyDeploy

#id, #to_query_hash

Constructor Details

#initializeGitDeploy

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of GitDeploy.



99
100
101
102
# File 'lib/skylight/util/deploy.rb', line 99

def initialize(*)
  super
  @git_sha, @description = get_info
end

Instance Attribute Details

#descriptionObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



97
98
99
# File 'lib/skylight/util/deploy.rb', line 97

def description
  @description
end

#git_shaObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



97
98
99
# File 'lib/skylight/util/deploy.rb', line 97

def git_sha
  @git_sha
end