lib/grape_entity/delegator/openstruct_object.rb in grape-entity-0.8.0 vs lib/grape_entity/delegator/openstruct_object.rb in grape-entity-0.8.1
- old
+ new
@@ -2,10 +2,10 @@
module Grape
class Entity
module Delegator
class OpenStructObject < Base
- def delegate(attribute, **)
+ def delegate(attribute)
object.send attribute
end
end
end
end