blob: 5686e8d7c394e5a5c510fd0e28a465f133c68204 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class Api::V1::InstancesController < Api::BaseController
respond_to :json
def show
render_cached_json('api:v1:instances', expires_in: 5.minutes) do
ActiveModelSerializers::SerializableResource.new({}, serializer: REST::InstanceSerializer)
end
end
end
|