Sha256: 5640b620682cbab8692278d419d7ff05b3e679126b2ca4eff894513b7fec3bf5
Contents?: true
Size: 305 Bytes
Versions: 10
Compression:
Stored size: 305 Bytes
Contents
# frozen_string_literal: true module SolidusBolt module Payments class VoidSyncService < BaseService attr_reader :payment def initialize(payment:) @payment = payment super end def call payment.void! unless payment.void? end end end end
Version data entries
10 entries across 10 versions & 1 rubygems