Sha256: 96eb0f4cbce15f1af2b20da3e063e88ab1d909621d1c884c0f9854a258578434
Contents?: true
Size: 942 Bytes
Versions: 2
Compression:
Stored size: 942 Bytes
Contents
module Fulfillment module Models class Product < Model property :id, coerce: Integer property :venue property :event_title property :show_id, coerce: Integer property :supplier_manifest_emails, coerce: ->(v) { v.split("\n") rescue v } property :supplier_id, coerce: Integer property :fulfillment_details property :advisories property :created_at, coerce: ->(v) { DateTime.parse(v) rescue v } property :updated_at, coerce: ->(v) { DateTime.parse(v) rescue v } property :show_date_and_time property :automatically_generate_barcode property :inventory_id, coerce: Integer property :fulfillment_method property :fulfillment_data property :event_id, coerce: Integer property :allow_purchase_cancellations property :supplier_wrap_sheet_emails, coerce: ->(v) { v.split("\n") rescue v } property :barcode_format end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fulfillment-api-1.1.9 | lib/fulfillment/models/product.rb |
fulfillment-api-1.1.7 | lib/fulfillment/models/product.rb |