Sha256: b3d7d46639a0f3e6d523753ede954895a3b4a25dcba510063e30c2e4f41e3d60
Contents?: true
Size: 586 Bytes
Versions: 7
Compression:
Stored size: 586 Bytes
Contents
module Spree module Api module V2 module Platform class UsersController < ResourceController private def model_class Spree.user_class end def resource_serializer Spree::Api::V2::Platform::UserSerializer end def scope_includes [:ship_address, :bill_address] end # we need to define this here as developers can configure their own `user_class` def model_param_name 'user' end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems