Sha256: 742e08ba95379077cb614a15b5508341fffd448e8e88a56f07eff251d291b264

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

module RackGraphql
  class Application
    def self.call(schema:, context_handler: nil)
      ::Rack::Builder.new do
        map '/graphql' do
          run RackGraphql::Middleware.new(schema: schema, context_handler: context_handler)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-graphql-0.3.0 lib/rack_graphql/application.rb