Sha256: 9ec67f3d00342381a561fc76a3635bf598367003f120dc2de6c4d517a9882d18

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Servicer
  module Layers
    # Base class for creating Layers.
    class Base
      def call(current_user, params)
        [current_user, params]
      end

      private

      def initialize(options, &block)
        @options = options
        @block = block
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
servicer-1.0.0 lib/servicer/layers/base.rb