class Grape::Entity::Exposure::DelegatorExposure

Public Instance Methods

value(entity, _options) click to toggle source
# File lib/grape_entity/exposure/delegator_exposure.rb, line 5
def value(entity, _options)
  entity.delegate_attribute(attribute)
end