Sha256: 14fc872d6989f43ce36aa7bc10045915aaa57f8b0320ec3d9e71d8f12a5f1208
Contents?: true
Size: 383 Bytes
Versions: 6
Compression:
Stored size: 383 Bytes
Contents
module GraphqlDevise module MountMethod module OperationPreparers class MutationFieldSetter def initialize(authenticatable_type) @authenticatable_type = authenticatable_type end def call(mutation) mutation.field(:authenticatable, @authenticatable_type, null: false) mutation end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems