class NulogyGraphqlApi::TransactionService::Dummy

TODO: Move to the spec folder

Attributes

transaction[R]

Public Instance Methods

execute_in_transaction() { |transaction| ... } click to toggle source
# File lib/nulogy_graphql_api/transaction_service.rb, line 33
def execute_in_transaction
  @transaction = Transaction.new
  @was_called = true
  yield(@transaction)
end
was_called?() click to toggle source
# File lib/nulogy_graphql_api/transaction_service.rb, line 39
def was_called?
  @was_called
end