Sha256: e47562fd2b58e45c00c62e8d99503f007c7d6879e7c9b7e34228958762b584ce
Contents?: true
Size: 358 Bytes
Versions: 11
Compression:
Stored size: 358 Bytes
Contents
# frozen_string_literal: true module GraphqlDevise module MountMethod module OperationPreparers class ResourceNameSetter def initialize(name) @name = name end def call(operation, **) operation.instance_variable_set(:@resource_name, @name) operation end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems