Class: Daytona::GitCommitResponse
- Inherits:
-
Object
- Object
- Daytona::GitCommitResponse
- Defined in:
- lib/daytona/common/git.rb
Overview
Response from the git commit.
Instance Attribute Summary collapse
-
#sha ⇒ String
readonly
The SHA of the commit.
Instance Method Summary collapse
-
#initialize(sha:) ⇒ GitCommitResponse
constructor
Initialize a new GitCommitResponse.
Constructor Details
#initialize(sha:) ⇒ GitCommitResponse
Initialize a new GitCommitResponse
12 13 14 |
# File 'lib/daytona/common/git.rb', line 12 def initialize(sha:) @sha = sha end |
Instance Attribute Details
#sha ⇒ String (readonly)
Returns The SHA of the commit.
7 8 9 |
# File 'lib/daytona/common/git.rb', line 7 def sha @sha end |