Class: ZweaBot::Models::Store
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ZweaBot::Models::Store
- Defined in:
- lib/zwea_bot/models/store.rb
Instance Method Summary collapse
Instance Method Details
#report_lines ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/zwea_bot/models/store.rb', line 14 def report_lines lines = [] lines << store_name lines << "APPLE ID: #{apple_id}" lines << "" lines << "Installed Displays:" installations.each do |installation| lines += installation.report_lines end lines << "" lines << "3D Elements:" line_items.each do |line_item| lines += line_item.report_lines end lines << '-'*88 end |