Class: PrintReleaf::QuoteItem
- Defined in:
- lib/printreleaf/quote_item.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
action, actions, #changes, #compact_inspect, #delete, #deleted?, #find, #initialize, #inspect, path, #reset, #to_s, #uri, uri
Constructor Details
This class inherits a constructor from PrintReleaf::Resource
Instance Method Details
#paper_type ⇒ Object
9 10 11 12 |
# File 'lib/printreleaf/quote_item.rb', line 9 def paper_type return nil if paper_type_id.nil? @paper_type ||= Paper::Type.find(paper_type_id) end |