Sha256: 0be801bcab2711fa5f233a36f4ca9dd3430476db7ec3fb1234e49b3a25304dcd
Contents?: true
Size: 561 Bytes
Versions: 4
Compression:
Stored size: 561 Bytes
Contents
module Printfection class Item < Resource extend Actions::Retrieve extend Actions::List property :id, transform_with: Transforms::Integer property :type property :name property :color property :created_at, transform_with: Transforms::Date property :product coerce_key :product, Product property :campaigns coerce_key :campaigns, Array[Campaign] property :sizes coerce_key :sizes, Array[Size] property :assets coerce_key :assets, Array[Asset] def self.uri "/items" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
printfection-1.0.3 | lib/printfection/item.rb |
printfection-1.0.2 | lib/printfection/item.rb |
printfection-1.0.1 | lib/printfection/item.rb |
printfection-1.0.0 | lib/printfection/item.rb |