Sha256: d10c58610f4c9f89764a6bfa961d103fad97c379105c1fc52022adbcf1253b9e
Contents?: true
Size: 547 Bytes
Versions: 62
Compression:
Stored size: 547 Bytes
Contents
module Workarea class Payment class MissingReference < RuntimeError; end module OperationImplementation extend ActiveSupport::Concern included do attr_reader :tender, :transaction, :options delegate :profile, to: :tender end def initialize(tender, transaction, options = {}) @tender = tender @transaction = transaction @options = options end def validate_reference! raise MissingReference if transaction.reference.blank? end end end end
Version data entries
62 entries across 62 versions & 1 rubygems