Class: ShareDataWatcher::Struct::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/share-data-watcher/struct.rb

Overview

Hash Type

Class Method Summary collapse

Class Method Details

.build(data) ⇒ Object



28
29
30
31
32
33
# File 'lib/share-data-watcher/struct.rb', line 28

def build(data)
  MultiJson.load(
    data,
    symbolize_keys: true
  )
end