Sha256: a56587fa241b6ee13d48bd1b445e00369f971d504947bfdc559de770be7aced4
Contents?: true
Size: 531 Bytes
Versions: 2
Compression:
Stored size: 531 Bytes
Contents
require "pwinty/api_models/order_recipient_address" module Pwinty class OrderRecipient < Pwinty::Base """https://www.prodigi.com/print-api/docs/reference/#order-object-recipient""" attribute? :name, Types::String.optional attribute? :email, Types::String.optional attribute? :phoneNumber, Types::String.optional attribute? :address, Pwinty::OrderRecipientAddress def serializable recp_attrs = self.attributes recp_attrs[:address] = self.address.attributes recp_attrs end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pwinty-4.0.1 | lib/pwinty/api_models/order_recipient.rb |
pwinty-4.0.0 | lib/pwinty/api_models/order_recipient.rb |