class Servicer::Layers::Base

Base class for creating Layers.

Public Class Methods

new(options, &block) click to toggle source
# File lib/servicer/layers/base.rb, line 13
def initialize(options, &block)
  @options = options
  @block = block
end

Public Instance Methods

call(current_user, params) click to toggle source
# File lib/servicer/layers/base.rb, line 7
def call(current_user, params)
  [current_user, params]
end