Sha256: b00eee978ec23feaba83c45409978e2afe706b404e0e1c5e4691d754f04e087b

Contents?: true

Size: 291 Bytes

Versions: 9

Compression:

Stored size: 291 Bytes

Contents

module Xsys
  module Model
    class GroupedPurchaseOrderItem
      attr_accessor :quantity, :remaining_quantity, :product_id

      def initialize(attributes={})
        attributes.each do |k,v|
          self.send("#{k}=", v) if self.respond_to?(k)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xsys-0.0.27 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.26 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.25 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.24 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.23 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.22 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.21 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.20 lib/xsys/model/grouped_purchase_order_item.rb
xsys-0.0.19 lib/xsys/model/grouped_purchase_order_item.rb