Sha256: d1585a925c88afe5078786d8ffef66f51c755752309cecbe3e27422291839879

Contents?: true

Size: 583 Bytes

Versions: 4

Compression:

Stored size: 583 Bytes

Contents

module OpenStax
  module Accounts
    module Api
      module V1
        class ApplicationAccountSearchRepresenter < AccountSearchRepresenter

          collection :application_accounts,
                     as: :application_users,
                     class: OpenStax::Accounts::ApplicationAccount,
                     decorator: ApplicationAccountRepresenter,
                     schema_info: {
                       description: "The matching accounts that have used this app",
                       minItems: 0
                     }

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstax_accounts-3.1.1 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-3.1.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-3.0.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb
openstax_accounts-2.0.0 app/representers/openstax/accounts/api/v1/application_account_search_representer.rb