Class: WhitLi::Mash
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- WhitLi::Mash
- Defined in:
- lib/whit_li/mash.rb
Class Method Summary collapse
Class Method Details
.from_json(json_string) ⇒ Object
6 7 8 9 |
# File 'lib/whit_li/mash.rb', line 6 def self.from_json(json_string) result_hash = ::MultiJson.decode(json_string) new(result_hash) end |