Sha256: f88971647bda2ad36d5fdf23c4ccef56a81add4ee4113353468e338b0bb873f8

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require_relative 'service/core'

module OnStrum
  module Service
    def self.included(base)
      base.extend(OnStrum::Service::ClassMethods)
      base.include(OnStrum::Service::InstanceMethods)

      ::Kernel.warn(OnStrum::Service::WARNING) if defined?(Strum::Service)
    end

    def call
      raise OnStrum::Service::Error::Runtime, OnStrum::Service::Error::Runtime::NOT_IMPLEMENTED
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
on_strum-service-1.1.1 lib/on_strum/service.rb
on_strum-service-1.1.0 lib/on_strum/service.rb
on_strum-service-1.0.2 lib/on_strum/service.rb