Class: Casper::Entity::DeployApproval
- Inherits:
-
Object
- Object
- Casper::Entity::DeployApproval
- Defined in:
- lib/entity/deploy_approval.rb
Overview
Signature and Public Key of the signer.
Instance Method Summary collapse
-
#get_signature ⇒ Object
return [String] signature.
-
#get_signer ⇒ String
Signer.
-
#initialize(approval = {}) ⇒ DeployApproval
constructor
A new instance of DeployApproval.
Constructor Details
#initialize(approval = {}) ⇒ DeployApproval
Returns a new instance of DeployApproval.
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_signature ⇒ Object
return [String] signature
20 21 22 |
# File 'lib/entity/deploy_approval.rb', line 20 def get_signature @signature end |
#get_signer ⇒ String
Returns signer.
15 16 17 |
# File 'lib/entity/deploy_approval.rb', line 15 def get_signer @signer end |