Class: Skylight::Util::Deploy::HerokuDeploy 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

Attributes inherited from EmptyDeploy

#config, #timestamp

Instance Method Summary collapse

Methods inherited from EmptyDeploy

#to_query_hash

Constructor Details

#initializeHerokuDeploy

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 HerokuDeploy.



68
69
70
71
# File 'lib/skylight/util/deploy.rb', line 68

def initialize(*)
  super
  @info = get_info
end

Instance Method Details

#descriptionObject

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.



81
82
83
# File 'lib/skylight/util/deploy.rb', line 81

def description
  @info ? @info["description"] : nil
end

#git_shaObject

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.



77
78
79
# File 'lib/skylight/util/deploy.rb', line 77

def git_sha
  @info ? @info["commit"] : nil
end

#idObject

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.



73
74
75
# File 'lib/skylight/util/deploy.rb', line 73

def id
  @info ? @info["id"] : nil
end