Class: Casper::Entity::DeployHash

Inherits:
Object
  • Object
show all
Defined in:
lib/entity/deploy_hash.rb

Overview

Hex-encoded Deploy hash.

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ DeployHash

Returns a new instance of DeployHash.

Parameters:

  • hash (String)


7
8
9
# File 'lib/entity/deploy_hash.rb', line 7

def initialize(hash)
  @hash = hash
end

Instance Method Details

#get_hashString

Returns hash.

Returns:

  • (String)

    hash



12
13
14
# File 'lib/entity/deploy_hash.rb', line 12

def get_hash
  @hash
end