Sha256: f2ca32cdcedae0ab03ba7426c22240f41f51ab87f50012c38ec7b0d2f3ded6dd
Contents?: true
Size: 589 Bytes
Versions: 17
Compression:
Stored size: 589 Bytes
Contents
require_dependency "ishapi/application_controller" # gem_dir = Gem::Specification.find_by_name("ish_models").gem_dir # require "#{gem_dir}/lib/office/email_conversation" module Ishapi class EmailContextsController < ApplicationController before_action :check_jwt def summary authorize! :summary, Ish::EmailContext @results = Ish::EmailContext.summary respond_to do |format| format.html format.csv do render layout: false end format.json do render json: @results end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems