Sha256: 3f7870eb56975b512610a9e0460246c7d25fdc881cd7868a457cbd9557514a69

Contents?: true

Size: 208 Bytes

Versions: 5

Compression:

Stored size: 208 Bytes

Contents

module Grape
  class Entity
    module Exposure
      class DelegatorExposure < Base
        def value(entity, _options)
          entity.delegate_attribute(attribute)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grape-entity-0.6.1 lib/grape_entity/exposure/delegator_exposure.rb
grape-entity-0.6.0 lib/grape_entity/exposure/delegator_exposure.rb
grape-entity-0.5.2 lib/grape_entity/exposure/delegator_exposure.rb
grape-entity-0.5.1 lib/grape_entity/exposure/delegator_exposure.rb
grape-entity-0.5.0 lib/grape_entity/exposure/delegator_exposure.rb