Sha256: 6d39f268a29b7d88c6ff7cdded4ec36018b2e76804c364e4e4afa3391d6effe0
Contents?: true
Size: 405 Bytes
Versions: 13
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true module GraphqlRails # includes all service object related logic module Service require 'active_support/concern' extend ActiveSupport::Concern class_methods do def call(*args, **kwargs, &block) if kwargs.present? new(*args, **kwargs).call(&block) else new(*args).call(&block) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems