module Roda::RodaPlugins::TimestampPublic::RequestMethods
Public Instance Methods
Source
# File lib/roda/plugins/timestamp_public.rb, line 63 def timestamp_public if is_get? on roda_class.opts[:timestamp_public_prefix], Integer do |_| public end end end
Serve files from the public directory if the file exists, it includes the timestamp_public
prefix segment followed by a integer segment for the timestamp, and this is a GET request.