Module: Nem::Util::Deserializer

Defined in:
lib/nem/util/deserializer.rb

Class Method Summary collapse

Class Method Details

.deserialize(serialized) ⇒ Hash

Deserialize a transaction object

Parameters:

  • serialized (String)

Returns:

  • (Hash)


7
8
9
10
# File 'lib/nem/util/deserializer.rb', line 7

def self.deserialize(serialized)
  s = serialized.scan(/../)
  transaction(s)
end