Class: Casper::Entity::DeployApproval

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

Instance Method Summary collapse

Constructor Details

#initialize(approval = {}) ⇒ DeployApproval

Returns a new instance of DeployApproval.

Options Hash (approval):

  • :signer (String)
  • :signature (String)


8
9
10
11
# File 'lib/entity/deploy_approval.rb', line 8

def initialize(approval = {})
  @signer = approval[:signer]
  @signature = approval[:signature]
end

Instance Method Details

#get_signatureObject

return [String] signature



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

def get_signature
  @signature
end

#get_signerString



14
15
16
# File 'lib/entity/deploy_approval.rb', line 14

def get_signer
  @signer
end