Class: WebPageEntity
- Inherits:
-
ApplicationEntity
- Object
- Dry::Struct
- ApplicationEntity
- WebPageEntity
- Defined in:
- app/entities/web_page_entity.rb
Constant Summary
Constants inherited from ApplicationEntity
ApplicationEntity::DEFAULT_CONTEXT
Instance Method Summary collapse
Methods inherited from ApplicationEntity
#dump, extra, extras, #to_h, #to_json, type
Instance Method Details
#dump_attributes ⇒ Object
8 9 10 |
# File 'app/entities/web_page_entity.rb', line 8 def dump_attributes attributes.except(:web_page).merge('@id' => web_page) end |