Class: Casper::Entity::DeployApproval
- Inherits:
-
Object
- Object
- Casper::Entity::DeployApproval
- Defined in:
- lib/entity/deploy_approval.rb
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.
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_signature ⇒ Object
return [String] signature
19 20 21 |
# File 'lib/entity/deploy_approval.rb', line 19 def get_signature @signature end |
#get_signer ⇒ String
14 15 16 |
# File 'lib/entity/deploy_approval.rb', line 14 def get_signer @signer end |