Sha256: 5fc0432a01adcf2c2cd6b5a665952b74083f2a457f2d6048ef88654ee8c6173f

Contents?: true

Size: 569 Bytes

Versions: 7

Compression:

Stored size: 569 Bytes

Contents

module Returnly
  module RefundsConfiguration
    def return_item_amount_calculator_class
      Returnly.return_item_amount_calculator || Returnly::Refund::AmountCalculator
    end

    # return item qualifies to be restocked (after refund)
    def return_item_restock_policy_class
      Returnly.return_item_restock_policy || Returnly::Refund::ReturnItemRestockPolicy
    end

    def refunder_class
      Returnly.refunder || Returnly::Refunder
    end

    def refund_calculator_class
      Returnly.refund_calculator || Returnly::RefundCalculator
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus-returnly-0.6.2 lib/returnly/refunds_configuration.rb
solidus-returnly-0.6.1 lib/returnly/refunds_configuration.rb
solidus-returnly-0.6.0 lib/returnly/refunds_configuration.rb
solidus-returnly-0.5.1 lib/returnly/refunds_configuration.rb
solidus-returnly-0.5.0 lib/returnly/refunds_configuration.rb
solidus-returnly-0.5.0.rc1 lib/returnly/refunds_configuration.rb
solidus-returnly-0.5.0.pre lib/returnly/refunds_configuration.rb