Sha256: 42952e1121274d4bbc43471d61f126584ad6cdc3f89f235cf58d0d144044210c
Contents?: true
Size: 559 Bytes
Versions: 6
Compression:
Stored size: 559 Bytes
Contents
module Cordial class Order < Hashie::Dash property :orderID property :email, required: -> { cID.nil? }, message: 'email is required if cID is not set.' property :cID, required: -> { email.nil? }, message: 'cID is required if email is not set.' property :linkID property :status property :mcID property :storeID property :customerID property :purchaseDate property :shippingAddress property :billingAddress property :items property :tax property :shippingAndHandling property :properties end end
Version data entries
6 entries across 6 versions & 1 rubygems