Class: Sidetree::OP::Recover
- Defined in:
- lib/sidetree/op/recover.rb
Overview
Recover operation class. identity.foundation/sidetree/spec/#recover
Instance Attribute Summary
Attributes inherited from Updatable
#delta, #did_suffix, #revealed_value, #signed_data
Class Method Summary collapse
-
.from_json(recover_data) ⇒ Sidetree::OP::Recover
Parse Recover operation data from json string.
Instance Method Summary collapse
Methods inherited from Updatable
#initialize, #key_name, parse_json
Constructor Details
This class inherits a constructor from Sidetree::OP::Updatable
Class Method Details
.from_json(recover_data) ⇒ Sidetree::OP::Recover
Parse Recover operation data from json string
10 11 12 |
# File 'lib/sidetree/op/recover.rb', line 10 def self.from_json(recover_data) parse_json(recover_data, Sidetree::OP::Type::RECOVER) end |