Sha256: cdbaeb586453e93c9a97df19d9b7fd557c6ee6ab84d515591e10f1b0cc467ef4

Contents?: true

Size: 816 Bytes

Versions: 4

Compression:

Stored size: 816 Bytes

Contents

module OpenStax
  module Accounts
    module Api
      module V1
        class UnclaimedAccountRepresenter < 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 Roar::JSON

          property :id,
                   type: Integer,
                   schema_info: {
                     description: "The unclaimed account's unique ID number",
                     required: true
                   }

          property :uuid,
                   type: String,
                   schema_info: {
                     description: "The unclaimed account's UUID",
                     required: true
                   }

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstax_accounts-7.9.0 app/representers/openstax/accounts/api/v1/unclaimed_account_representer.rb
openstax_accounts-7.8.0 app/representers/openstax/accounts/api/v1/unclaimed_account_representer.rb
openstax_accounts-7.7.0 app/representers/openstax/accounts/api/v1/unclaimed_account_representer.rb
openstax_accounts-7.6.0 app/representers/openstax/accounts/api/v1/unclaimed_account_representer.rb