Sha256: 886d0f7ad7ba901574d577d8ebab3a7aaaaab0244db04db8f2dde1529be28b0a

Contents?: true

Size: 185 Bytes

Versions: 1

Compression:

Stored size: 185 Bytes

Contents

    get '/<%= query_name %>' do
      body JSON.pretty_generate(
        <%= project_class_name %>::Projections::<%= query_class_name %>::Query.handle
      )
      status 200
    end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
event_sourcery_generators-0.2.0 lib/event_sourcery_generators/generators/templates/query/api_endpoint.rb.tt