Module: S3arch::Routes

Defined in:
lib/s3arch/routes.rb

Overview

Lightweight route manifest for Dispatcher mount DSL. No heavy dependencies — safe to load in parse-only contexts.

Class Method Summary collapse

Class Method Details

.routesObject



7
8
9
10
11
12
# File 'lib/s3arch/routes.rb', line 7

def self.routes
  [
    { method: :get, path: '/' },
    { method: :post, path: '/rebuild' }
  ]
end