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

Version Path
openstax_accounts-8.0.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-8.0.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.13.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.13.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.12.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.11.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.10.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.9.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.8.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.7.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.6.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.5.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.4.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.3.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-7.2.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb