Sha256: 817411b5be972c657bf58bd5645db473c2cf1c733787c8739f2cf328db44cf6b
Contents?: true
Size: 385 Bytes
Versions: 9
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module ActiveEncode class EncodeRecordController < ApplicationController rescue_from ActiveRecord::RecordNotFound do |e| render json: { message: e.message }, status: :not_found end def show @encode_record = ActiveEncode::EncodeRecord.find(params[:id]) render json: @encode_record.raw_object, status: :ok end end end
Version data entries
9 entries across 9 versions & 1 rubygems