Sha256: de7106cbbb3e8d940ebd113dd1c2913f4881956e45d37d91aa62eb7d9870f1e5
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true module <%= service_name.classify %>::Usecases class <%= @usecase %> < CaseBase # # Your business logic goes here, keep [call] method clean by using private # methods for Business logic. # def call replace_me end # This method will run if call method raise error def rollback # rollback logic end def allowed? # policies loginc for issuer # ex: # # return false if issuer.role != :admin true end private def replace_me # [business logic] end end end
Version data entries
3 entries across 3 versions & 1 rubygems