Sha256: b5f56b1cd67fd76ce131f8e88396221a0d203e236a7dd23303ec5405a899724b
Contents?: true
Size: 586 Bytes
Versions: 8
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true require_relative '../user/serializer' require_relative '../marketplace/store/serializer' module Desertcart class AuthenticationToken class Serializer < Desertcart::Serializer id attribute :token attribute :expires_at references_one 'user', resource_attribute: :user, serializer: Desertcart::User::Serializer references_one 'store', resource_attribute: :store, serializer: Desertcart::Marketplace::Store::Serializer end end end
Version data entries
8 entries across 8 versions & 1 rubygems