Class: Casper::Entity::DeployInfo
- Inherits:
-
Object
- Object
- Casper::Entity::DeployInfo
- Defined in:
- lib/entity/deploy_info.rb
Overview
Information relating to the given Deploy.
Instance Method Summary collapse
-
#get_from ⇒ String
From.
-
#get_gas ⇒ String
Gas.
-
#get_hash ⇒ String
Hash.
-
#get_source ⇒ String
Source.
-
#get_transfers ⇒ Array
Transfers.
-
#initialize(hash, transfers, from, source, gas) ⇒ DeployInfo
constructor
A new instance of DeployInfo.
Constructor Details
#initialize(hash, transfers, from, source, gas) ⇒ DeployInfo
Returns a new instance of DeployInfo.
11 12 13 14 15 16 17 |
# File 'lib/entity/deploy_info.rb', line 11 def initialize(hash, transfers, from, source, gas) @hash = hash @transfers = transfers @from = from @source = source @gas = gas end |
Instance Method Details
#get_from ⇒ String
Returns from.
30 31 32 |
# File 'lib/entity/deploy_info.rb', line 30 def get_from @from end |
#get_gas ⇒ String
Returns gas.
40 41 42 |
# File 'lib/entity/deploy_info.rb', line 40 def get_gas @gas end |
#get_hash ⇒ String
Returns hash.
20 21 22 |
# File 'lib/entity/deploy_info.rb', line 20 def get_hash @hash end |
#get_source ⇒ String
Returns source.
35 36 37 |
# File 'lib/entity/deploy_info.rb', line 35 def get_source @source end |
#get_transfers ⇒ Array
Returns transfers.
25 26 27 |
# File 'lib/entity/deploy_info.rb', line 25 def get_transfers @transfers end |