Class: Api::V5::CustomLabelsController
- Inherits:
-
BaseController
- Object
- ActionController::API
- BaseController
- Api::V5::CustomLabelsController
- Defined in:
- app/controllers/api/v5/custom_labels_controller.rb
Constant Summary
Constants inherited from BaseController
BaseController::CACHE_NAMESPACE, BaseController::INTERNAL_SERVER_ERROR_MESSAGE, BaseController::ResponseSchema
Instance Method Summary collapse
Methods inherited from BaseController
Methods included from LogrageCustomLogger
Methods included from ResponseCacheConcern
Instance Method Details
#index ⇒ Object
7 8 9 10 |
# File 'app/controllers/api/v5/custom_labels_controller.rb', line 7 def index expires_in DEFAULT_HTTP_PUBLIC_CACHE_EXPIRATION, public: true render json: { data: CustomLabel.undefined_label } end |