Class: Mg::ReportItem

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/mountain-goat/models/mg/report_item.rb

Instance Method Summary collapse

Instance Method Details

#chart_itemsObject



17
18
19
# File 'lib/mountain-goat/models/mg/report_item.rb', line 17

def chart_items
  return self.reportable.reportable_chart_items(self.pivot)
end

#chart_titleObject



13
14
15
# File 'lib/mountain-goat/models/mg/report_item.rb', line 13

def chart_title
  return self.reportable.reportable_title(pivot)
end

#gerbil_chartObject



21
22
23
# File 'lib/mountain-goat/models/mg/report_item.rb', line 21

def gerbil_chart
  return self.reportable.reportable_gerbil_chart(self.pivot)
end