module Roda::RodaPlugins::TimestampPublic::RequestMethods

def timestamp_public

a integer segment for the timestamp, and this is a GET request.
it includes the timestamp_public prefix segment followed by
Serve files from the public directory if the file exists,
def timestamp_public
  if is_get?
    on roda_class.opts[:timestamp_public_prefix], Integer do |_|
      public
    end
  end
end