Class: Sidetree::OP::Update
- Defined in:
- lib/sidetree/op/update.rb
Overview
Update operation class. identity.foundation/sidetree/spec/#update
Instance Attribute Summary
Attributes inherited from Updatable
#delta, #did_suffix, #revealed_value, #signed_data
Class Method Summary collapse
-
.from_json(update_data) ⇒ Sidetree::OP::Update
Parse update 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(update_data) ⇒ Sidetree::OP::Update
Parse update operation data from json string
10 11 12 |
# File 'lib/sidetree/op/update.rb', line 10 def self.from_json(update_data) parse_json(update_data, Sidetree::OP::Type::UPDATE) end |