Class: Daytona::GitCommitResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/daytona/common/git.rb

Overview

Response from the git commit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sha:) ⇒ GitCommitResponse

Initialize a new GitCommitResponse

Parameters:

  • sha (String)

    The SHA of the commit



12
13
14
# File 'lib/daytona/common/git.rb', line 12

def initialize(sha:)
  @sha = sha
end

Instance Attribute Details

#shaString (readonly)

Returns The SHA of the commit.

Returns:

  • (String)

    The SHA of the commit



7
8
9
# File 'lib/daytona/common/git.rb', line 7

def sha
  @sha
end