Sha256: 14969566bd00e62e0adbef3550679029e355833d6a8214c4af5788ff85c02dcc
Contents?: true
Size: 405 Bytes
Versions: 6
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true module Rails module GraphQL # = GraphQL Alternative Mutation # # Same as it's parent class, but for mutations class Alternative::Mutation < Alternative::Query redefine_singleton_method(:type_field_class) { :mutation } self.abstract = true class << self delegate :perform, to: :@field, allow_nil: true end end end end
Version data entries
6 entries across 6 versions & 1 rubygems