Sha256: 2ca1e68560498e1ea5f6ee9c388318efe7d96d37d8f23e0fb1110578b69fe2d8
Contents?: true
Size: 224 Bytes
Versions: 1
Compression:
Stored size: 224 Bytes
Contents
# frozen_string_literal: true module Grape class Entity module Delegator class OpenStructObject < Base def delegate(attribute, **) object.send attribute end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-entity-0.8.0 | lib/grape_entity/delegator/openstruct_object.rb |