Class: Rushi::RushiObject

Inherits:
Object
  • Object
show all
Defined in:
lib/rushi/rushi_object.rb

Class Method Summary collapse

Class Method Details

.objectify(json) ⇒ Object



7
8
9
10
# File 'lib/rushi/rushi_object.rb', line 7

def self.objectify(json)
  hash = JSON.parse(json)
  rubify_hash(hash)
end