module Sidetree module OP # Update operation class. # https://identity.foundation/sidetree/spec/#update class Update < Updatable # Parse update operation data from json string # @param [String] update_data update operation data(json string). # @return [Sidetree::OP::Update] # @raise [Sidetree::Error] def self.from_json(update_data) parse_json(update_data, Sidetree::OP::Type::UPDATE) end def type Sidetree::OP::Type::UPDATE end end end end