Sha256: 6144ebaa5d1f518a11ccb1c8e947a6c2ca33b6e84136c0d1ad49b7049638f606

Contents?: true

Size: 516 Bytes

Versions: 35

Compression:

Stored size: 516 Bytes

Contents

module OpenStax
  module Accounts
    module Api
      module V1
        class ApplicationAccountsRepresenter < Roar::Decorator

          # 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!

          include Representable::JSON::Collection

          items class: OpenStax::Accounts::ApplicationAccount,
                decorator: ApplicationAccountRepresenter

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