Class: PrintReleaf::Paper::Type
- Defined in:
- lib/printreleaf/paper/type.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
#account ⇒ Object
16 17 18 19 |
# File 'lib/printreleaf/paper/type.rb', line 16 def account return nil if account_id.nil? @account ||= Account.find(account_id) end |