Class: Xing::Mash

Inherits:
Hashie::Mash
  • Object
show all
Defined in:
lib/xing/mash.rb

Class Method Summary collapse

Class Method Details

.from_json(json_string) ⇒ Object



7
8
9
10
# File 'lib/xing/mash.rb', line 7

def self.from_json(json_string)
  result_hash = MultiJson.load(json_string)
  new(result_hash)
end