Class: Grape::Entity::Delegator::OpenStructObject
- Defined in:
- lib/grape_entity/delegator/openstruct_object.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Grape::Entity::Delegator::Base
Instance Method Details
#delegate(attribute) ⇒ Object
5 6 7 |
# File 'lib/grape_entity/delegator/openstruct_object.rb', line 5 def delegate(attribute) object.send attribute end |