Sha256: d49e0e1c323ddbb090e9450c9778e90abae2c2df33ca2cde099d0c81169e7710
Contents?: true
Size: 535 Bytes
Versions: 9
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true module ShopifyAPI class AssignedFulfillmentOrder < Base def initialize(attributes = {}, persisted = false) ShopifyAPI::Base.version_validation!(FulfillmentOrder::MINIMUM_VERSION) super(attributes, persisted) end def self.find(scope, *args) ShopifyAPI::Base.version_validation!(FulfillmentOrder::MINIMUM_VERSION) assigned_fulfillment_orders = super(scope, *args) assigned_fulfillment_orders.map { |afo| FulfillmentOrder.new(afo.attributes) } end end end
Version data entries
9 entries across 9 versions & 2 rubygems