Module: ResourceFull::CoreExtensions::Hash

Included in:
Hash
Defined in:
lib/resource_full/core_extensions/from_json.rb

Instance Method Summary collapse

Instance Method Details

#from_json(json) ⇒ Object



4
5
6
# File 'lib/resource_full/core_extensions/from_json.rb', line 4

def from_json(json)
  ActiveSupport::JSON.decode json
end