Sha256: c67731909e9e9341fd715e2ff3c4d6a8e0f3d5a7fc3f60181afac84a38fc44e9
Contents?: true
Size: 806 Bytes
Versions: 35
Compression:
Stored size: 806 Bytes
Contents
module OpenStax module Accounts module Api module V1 class ApplicationAccountSearchRepresenter < AccountSearchRepresenter # This representer is used to communicate with Accounts # and so must allow read/write on all properties # Do not use it in create/update APIs! collection :application_accounts, as: :application_users, class: OpenStax::Accounts::ApplicationAccount, decorator: ApplicationAccountRepresenter, schema_info: { description: "The accounts of matching users that have used this app", required: true, minItems: 0 } end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems