Class: Casper::Entity::Deploy
- Inherits:
-
Object
- Object
- Casper::Entity::Deploy
- Defined in:
- lib/entity/deploy.rb
Instance Method Summary collapse
-
#get_approvals ⇒ DeployApproval
Approvals.
-
#get_hash ⇒ String
Hash.
-
#get_header ⇒ DeployHeader
Header.
-
#get_payment ⇒ DeployExecutable
Payment.
-
#get_session ⇒ DeployExecutable
Session.
-
#initialize(hash, header, payment, session, approvals) ⇒ Deploy
constructor
A new instance of Deploy.
Constructor Details
permalink #initialize(hash, header, payment, session, approvals) ⇒ Deploy
Returns a new instance of Deploy.
10 11 12 13 14 15 16 |
# File 'lib/entity/deploy.rb', line 10 def initialize(hash, header, payment, session, approvals) @hash = hash @header = header @payment = payment @session = session @approvals = approvals end |
Instance Method Details
permalink #get_approvals ⇒ DeployApproval
Returns approvals.
39 40 41 |
# File 'lib/entity/deploy.rb', line 39 def get_approvals @approvals end |
permalink #get_hash ⇒ String
Returns hash.
19 20 21 |
# File 'lib/entity/deploy.rb', line 19 def get_hash @hash end |
permalink #get_header ⇒ DeployHeader
Returns header.
24 25 26 |
# File 'lib/entity/deploy.rb', line 24 def get_header @header end |
permalink #get_payment ⇒ DeployExecutable
Returns payment.
29 30 31 |
# File 'lib/entity/deploy.rb', line 29 def get_payment @payment end |
permalink #get_session ⇒ DeployExecutable
Returns session.
34 35 36 |
# File 'lib/entity/deploy.rb', line 34 def get_session @session end |