# frozen_string_literal: true module Grape class Entity module Delegator class OpenStructObject < Base def delegate(attribute, **) object.send attribute end end end end end