Sha256: 8c0d604546c6c022159c0a6377deb81a9d954916d9903f1ffceaabdb072ca870

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

module Solidus
  module Returnly
    module Refund
      class ReturnItemRestockPolicy
        attr_accessor :refund

        def initialize(refund)
          self.refund = refund
        end

        #
        def should_return_item?(_)
          refund.restock
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus-returnly-0.4.3 lib/solidus/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.4.2 lib/solidus/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.4.1 lib/solidus/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.4.0 lib/solidus/returnly/refund/return_item_restock_policy.rb