Class: Api::Vendor::V1::BaseController

Inherits:
ActionController::API
  • Object
show all
Includes:
Concerns::Authentication, ElasticApmContext, LogrageCustomLogger, Pagy::Backend, ResponseCacheConcern
Defined in:
app/controllers/api/vendor/v1/base_controller.rb

Constant Summary collapse

CACHE_NAMESPACE =
'api_vendor_v1_cache'.freeze

Instance Attribute Summary collapse

Method Summary

Methods included from LogrageCustomLogger

#append_info_to_payload

Methods included from ResponseCacheConcern

#my_response_cache

Instance Attribute Details

#vendorObject (readonly)

Returns the value of attribute vendor.



18
19
20
# File 'app/controllers/api/vendor/v1/base_controller.rb', line 18

def vendor
  @vendor
end