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



15
16
17
# File 'lib/daytona/common/git.rb', line 15

def initialize(sha:)
  @sha = sha
end

Instance Attribute Details

#shaString (readonly)

Returns The SHA of the commit.

Returns:

  • (String)

    The SHA of the commit



10
11
12
# File 'lib/daytona/common/git.rb', line 10

def sha
  @sha
end