Sha256: a9354b3baee3cea56431066ea647c94126f54814006712ec1f524776555dd945

Contents?: true

Size: 267 Bytes

Versions: 19

Compression:

Stored size: 267 Bytes

Contents

module Returnly
  module Refund
    class ReturnItemRestockPolicy
      attr_accessor :refund

      def initialize(refund)
        self.refund = refund
      end

      def should_return_item?(return_item)
        return_item.resellable?
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
spree-returnly-0.13.1 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.13.1 lib/returnly/refund/return_item_restock_policy.rb
spree-returnly-0.13.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.13.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.12.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.11.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.10.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.9.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.8.1 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.8.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.7.1 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.7.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.6.2 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.6.1 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.6.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.5.1 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.5.0 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.5.0.rc1 lib/returnly/refund/return_item_restock_policy.rb
solidus-returnly-0.5.0.pre lib/returnly/refund/return_item_restock_policy.rb