Sha256: 8d3e443509a401091d7b7ddd82f9fd2c68500b359e41cceb3da6d8d5daf5e963

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

module Workarea
  class Fulfillment
    module Policies
      class Base
        attr_reader :sku

        def initialize(sku)
          @sku = sku
        end

        def requires_shipping?
          false
        end

        def process(order_item:, fulfillment: nil)
          raise(NotImplementedError)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-core-3.5.0.beta.1 app/models/workarea/fulfillment/policies/base.rb