Method: Casper::Entity::DeployInfo#initialize

Defined in:
lib/entity/deploy_info.rb

#initialize(hash, transfers, from, source, gas) ⇒ DeployInfo

Returns a new instance of DeployInfo.

Parameters:

  • hash (String)
  • transfers (Array)
  • from (String)
  • source (String)
  • gas (String)


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