Class: Casper::Entity::DeployHash
- Inherits:
-
Object
- Object
- Casper::Entity::DeployHash
- Defined in:
- lib/entity/deploy_hash.rb
Overview
Hex-encoded Deploy hash.
Instance Method Summary collapse
-
#get_hash ⇒ String
Hash.
-
#initialize(hash) ⇒ DeployHash
constructor
A new instance of DeployHash.
Constructor Details
#initialize(hash) ⇒ DeployHash
Returns a new instance of DeployHash.
7 8 9 |
# File 'lib/entity/deploy_hash.rb', line 7 def initialize(hash) @hash = hash end |
Instance Method Details
#get_hash ⇒ String
Returns hash.
12 13 14 |
# File 'lib/entity/deploy_hash.rb', line 12 def get_hash @hash end |