Class: Spree::Api::V3::Store::ResourceController

Inherits:
ResourceController show all
Includes:
ChannelResolution
Defined in:
app/controllers/spree/api/v3/store/resource_controller.rb

Overview

Mirrors Store::BaseController’s concerns. Both classes anchor parallel inheritance branches (V3::BaseController vs V3::ResourceController); any concern added here MUST also be added to Store::BaseController.

Constant Summary

Constants included from ChannelResolution

ChannelResolution::CHANNEL_HEADER

Constants inherited from BaseController

BaseController::RATE_LIMIT_RESPONSE

Constants included from Idempotent

Idempotent::IDEMPOTENCY_HEADER, Idempotent::IDEMPOTENCY_TTL, Idempotent::MAX_KEY_LENGTH, Idempotent::MUTATING_METHODS

Constants included from ErrorHandler

ErrorHandler::ERROR_CODES

Constants included from JwtAuthentication

JwtAuthentication::JWT_AUDIENCE_ADMIN, JwtAuthentication::JWT_AUDIENCE_STORE, JwtAuthentication::JWT_ISSUER, JwtAuthentication::USER_TYPE_ADMIN, JwtAuthentication::USER_TYPE_CUSTOMER

Method Summary

Methods inherited from ResourceController

#create, #destroy, #index, #show, #update

Methods included from ApiKeyAuthentication

#authenticate_api_key!, #authenticate_secret_key!

Methods included from JwtAuthentication

#authenticate_user, #require_authentication!