Class: Casper::Entity::DeployApproval

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

Overview

Signature and Public Key of the signer.

Instance Method Summary collapse

Constructor Details

#initialize(approval = {}) ⇒ DeployApproval

Returns a new instance of DeployApproval.

Parameters:

  • approval (Hash) (defaults to: {})

Options Hash (approval):

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


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

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

Instance Method Details

#get_signatureObject

return [String] signature



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

def get_signature
  @signature
end

#get_signerString

Returns signer.

Returns:

  • (String)

    signer



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

def get_signer
  @signer
end