module Hashie::Extensions::Structure

def self.included(base)

def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    @permitted_keys = superclass.permitted_keys if superclass.respond_to?(:permitted_keys)
  end
end