Class: Helios::Seo::ResourcePresenter

Inherits:
Object
  • Object
show all
Defined in:
app/services/helios/seo/resource_presenter.rb

Overview

Wraps a content resource + configuration and exposes the resolved, render-ready SEO values. Shared by TagsHelper and SchemaBuilder so the two never disagree. Targets the resource contract:

name, slug, description, keywords, created_at, updated_at, published?

and degrades gracefully when optional methods are absent.

Instance Attribute Summary collapse

Instance Method Summary collapse