Class: Casper::Entity::DeployInfo
- Inherits:
-
Object
- Object
- Casper::Entity::DeployInfo
- Defined in:
- lib/entity/deploy_info.rb
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.
10 11 12 13 14 15 16 |
# File 'lib/entity/deploy_info.rb', line 10 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.
29 30 31 |
# File 'lib/entity/deploy_info.rb', line 29 def get_from @from end |
#get_gas ⇒ String
Returns gas.
39 40 41 |
# File 'lib/entity/deploy_info.rb', line 39 def get_gas @gas end |
#get_hash ⇒ String
Returns hash.
19 20 21 |
# File 'lib/entity/deploy_info.rb', line 19 def get_hash @hash end |
#get_source ⇒ String
Returns source.
34 35 36 |
# File 'lib/entity/deploy_info.rb', line 34 def get_source @source end |
#get_transfers ⇒ Array
Returns transfers.
24 25 26 |
# File 'lib/entity/deploy_info.rb', line 24 def get_transfers @transfers end |