Skip to content

Support for dynamic content #7

@pjaspers

Description

@pjaspers

For example add the current time to the shack stamp.

Something like:

Shack::Middleware.configure do |config|
  config.content = -> { "#{Time.now} - #{sha}}
end

And that would get reevaluated on each call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions