example_app/app/service_definition.rb in shatter-rb-0.0.2 vs example_app/app/service_definition.rb in shatter-rb-0.1.0

- old
+ new

@@ -1,9 +1,5 @@ # frozen_string_literal: true -require_relative './functions/hello_world_function' - -module MyApp - class ServiceDefinition < Shatter::Service::ServiceDefinition - register_function :hello_world, MyApp::Functions::HelloWorldFunction - end +class ServiceDefinition < Shatter::Service::ServiceDefinition + register_function :hello_world, HelloWorldFunction end