# frozen_string_literal: true module <%= service_name.classify %>::Usecases class <%= @usecase %> < ServiceBase # # Your business logic goes here, keep [call] method clean by using private # methods for Business logic. # def call replace_me end private # This method will run if call method raise error def rollback # rollback logic end def replace_me # [business logic] end end end