require 'hashie'
require 'multi_json'

module YammerApi
  class Mash < ::Hashie::Mash

    def self.from_json(json_string)
      result_hash = MultiJson.decode(json_string || "{}")
      new(result_hash)
    end

  end
end
