Sha256: 24238f9f9703675ccb7a25446b333353bef60190b85eb615cec4d0710788c866

Contents?: true

Size: 141 Bytes

Versions: 2

Compression:

Stored size: 141 Bytes

Contents

# frozen_string_literal: true

module Mockable
  private

  def bypass_graphql
    redirect_to(imitate_path(query: params[:query]))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mock_graphql_ai-1.0.3 lib/generators/templates/mockable.rb
mock_graphql_ai-1.0.2 lib/generators/templates/mockable.rb