lib/on_strum/service.rb in on_strum-service-1.0.1 vs lib/on_strum/service.rb in on_strum-service-1.0.2
- old
+ new
@@ -4,13 +4,13 @@
module OnStrum
module Service
def self.included(base)
base.extend(OnStrum::Service::ClassMethods)
- base.prepend(OnStrum::Service::InstanceMethods)
- end
+ base.include(OnStrum::Service::InstanceMethods)
- def audit; end
+ ::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