Pika::Entity(T)
Macros
pika_entity
pika_entity — parses all expose calls in its block, generates represent methods.
Supported options on expose: if: :flag_name — include field only when that keyword arg is truthy in represent call if: nil (omitted) — always include
Supported block form: expose(:key) { |obj| obj.some_computed_value }