class RenewLicenseController < ApplicationController def expire @license = current_license @plan = @license.read_license("plan_name") @bis_name = @license.read_license_no_decrypt("shop_name") @expired_at = @license.read_license("renewable_date") @license_status = @license.detail_with_local_file end def renew status, message = current_license.verify_license render json: {message: message, status: status} end end