Sha256: 63895e7533f6f305c4314aeb8095e8974b597368446a848210ec104e9bbb950c
Contents?: true
Size: 442 Bytes
Versions: 4
Compression:
Stored size: 442 Bytes
Contents
module PrintReleaf class QuoteItem < Resource property :quantity, transform_with: Transforms::Integer property :width, transform_with: Transforms::Float property :height, transform_with: Transforms::Float property :density, transform_with: Transforms::Float property :paper_type_id def paper_type return nil if paper_type_id.nil? @paper_type ||= Paper::Type.find(paper_type_id) end end end
Version data entries
4 entries across 4 versions & 1 rubygems