class PrintReleaf::Deposit
Public Instance Methods
account()
click to toggle source
# File lib/printreleaf/deposit.rb, line 20 def account @account ||= Account.find(account_id) end
feed()
click to toggle source
# File lib/printreleaf/deposit.rb, line 24 def feed return nil if feed_id.nil? @feed ||= Feed.find(feed_id) end
paper_type()
click to toggle source
# File lib/printreleaf/deposit.rb, line 29 def paper_type return nil if paper_type_id.nil? @paper_type ||= Paper::Type.find(paper_type_id) end