Sha256: 4abd3f6e0851c9136962fd064f9a92b1001d566de632207c8e3f5b8dbbf60792

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

module Spree
  class Report
    module Chart
      extend ActiveSupport::Concern

      def chart_json
        self.class::Chart.new(self, time_dimension).to_h
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spree_admin_insights-3.2.0 app/reports/spree/report/chart.rb
solidus_admin_insights-2.1.1 app/reports/spree/report/chart.rb
solidus_admin_insights-2.1.0 app/reports/spree/report/chart.rb