Class: Casper::Entity::Deploy

Inherits:
Object
  • Object
show all
Defined in:
lib/entity/deploy.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash, header, payment, session, approvals) ⇒ Deploy

Returns a new instance of Deploy.

Parameters:

[View source]

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

#get_approvalsDeployApproval

Returns approvals.

Returns:

[View source]

39
40
41
# File 'lib/entity/deploy.rb', line 39

def get_approvals
  @approvals  
end

#get_hashString

Returns hash.

Returns:

  • (String)

    hash

[View source]

19
20
21
# File 'lib/entity/deploy.rb', line 19

def get_hash
  @hash 
end

#get_headerDeployHeader

Returns header.

Returns:

[View source]

24
25
26
# File 'lib/entity/deploy.rb', line 24

def get_header
  @header 
end

#get_paymentDeployExecutable

Returns payment.

Returns:

[View source]

29
30
31
# File 'lib/entity/deploy.rb', line 29

def get_payment 
  @payment  
end

#get_sessionDeployExecutable

Returns session.

Returns:

[View source]

34
35
36
# File 'lib/entity/deploy.rb', line 34

def get_session 
  @session  
end