class Gitlab::ObjectifiedHash
def method_missing(method_name, *args, &block)
def method_missing(method_name, *args, &block) if data.key?(method_name.to_s) data[method_name.to_s] elsif data.respond_to?(method_name) warn 'WARNING: Please convert ObjectifiedHash object to hash before calling Hash methods on it.' data.send(method_name, *args, &block) else super end end