Sha256: f7d132d236baeec51f0cf251c8e8425cdc34bef268a92ae768bce85703866ce9
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
require 'gecko/record/base' module Gecko module Record class FulfillmentLineItem < Base belongs_to :fulfillment, writeable_on: :create belongs_to :order_line_item, writeable_on: :create attribute :quantity, BigDecimal attribute :base_price, BigDecimal, readonly: true attribute :position, Integer end class FulfillmentLineItemAdapter < BaseAdapter # Returns all cached records for testing # # @return [Array<Gecko::Record::FulfillmentLineItem>] # # @api private def all @identity_map.values end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gecko-ruby-0.2.0 | lib/gecko/record/fulfillment_line_item.rb |