Sha256: 67a56f98b51bf5e601936f48213c6c0ef1d14918200f98e5bcf13b7926b4662f

Contents?: true

Size: 274 Bytes

Versions: 29

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

require_relative 'route'

module GraphqlRails
  class Router
    # stores mutation type graphql action info
    class MutationRoute < Route
      def query?
        false
      end

      def mutation?
        true
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
graphql_rails-2.1.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-2.0.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.2.6 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.2.4 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.2.3 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.2.2 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.2.1 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.2.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.1.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-1.0.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.8.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.7.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.6.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.5.2 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.5.1 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.5.0 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.4.3 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.4.2 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.4.1 lib/graphql_rails/router/mutation_route.rb
graphql_rails-0.4.0 lib/graphql_rails/router/mutation_route.rb