Sha256: 8be4eac273721f05b10ec5de57ec7fb291531ba4af6f87285f5c903fe20391b5
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
module ReportsKit class ReportsController < ReportsKit::BaseController def index properties = ActiveSupport::JSON.decode(params[:properties]) report_data = Reports::Data::Generate.new(properties, context_record: context_record).perform render json: { data: report_data } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reports_kit-0.1.0 | lib/reports_kit/reports_controller.rb |
reports_kit-0.0.4 | lib/reports_kit/reports_controller.rb |
reports_kit-0.0.3 | lib/reports_kit/reports_controller.rb |