Class: Pressy::RenderedPost
- Inherits:
-
Struct
- Object
- Struct
- Pressy::RenderedPost
- Defined in:
- lib/pressy/post_renderer.rb
Overview
A RenderedPost represents a post as it is represented in a Store.
Instance Attribute Summary collapse
-
#content ⇒ Object
The rendered text content of the post.
-
#digest ⇒ Object
The SHA256 hash of the post content.
-
#path ⇒ Object
The file path where the post is stored.
Instance Attribute Details
#content ⇒ Object
Returns The rendered text content of the post
118 119 |
# File 'lib/pressy/post_renderer.rb', line 118 class Pressy::RenderedPost < Struct.new(:path, :content, :digest) end |
#digest ⇒ Object
Returns The SHA256 hash of the post content
118 119 |
# File 'lib/pressy/post_renderer.rb', line 118 class Pressy::RenderedPost < Struct.new(:path, :content, :digest) end |
#path ⇒ Object
Returns The file path where the post is stored
118 119 |
# File 'lib/pressy/post_renderer.rb', line 118 class Pressy::RenderedPost < Struct.new(:path, :content, :digest) end |