Class: Skylight::Util::Deploy::HerokuDeploy Private
- Inherits:
-
EmptyDeploy
- Object
- EmptyDeploy
- Skylight::Util::Deploy::HerokuDeploy
- 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
Instance Method Summary collapse
- #description ⇒ Object private
- #git_sha ⇒ Object private
- #id ⇒ Object private
-
#initialize ⇒ HerokuDeploy
constructor
private
A new instance of HerokuDeploy.
Methods inherited from EmptyDeploy
Constructor Details
#initialize ⇒ HerokuDeploy
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
#description ⇒ Object
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_sha ⇒ Object
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 |
#id ⇒ Object
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 |