Method: Casper::Entity::DeployService#make_deploy
- Defined in:
- lib/entity/deploy.rb
#make_deploy(deploy_hash, header, payment, session, approvals) ⇒ Deploy
92 93 94 95 96 97 98 99 100 |
# File 'lib/entity/deploy.rb', line 92 def make_deploy(deploy_hash, header, payment, session, approvals) @header = Casper::Entity::DeployHeader.new(header) @payment = payment @session = session @body_hash = deploy_body_hash(payment, session) @header.set_body_hash(@body_hash) @deploy_hash = deploy_hash(@header) @deploy = Deploy.new(@deploy_hash, @header.to_hash, @payment, @session, approvals) end |