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-9.9.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.8.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.8.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.7.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.6.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.6.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.5.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.5.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.4.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.3.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.0.5 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.0.4 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.2.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.0.3 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.1.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.0.2 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.0.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-9.0.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-8.1.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-8.1.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb