Sha256: 26efb266a54fc902c70ad9de6606a1762427de1569299e15f9e7d5f4b6073564
Contents?: true
Size: 1.19 KB
Versions: 5
Compression:
Stored size: 1.19 KB
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 } property :support_identifier, type: String, schema_info: { description: "The unclaimed account's support_identifier" } property :is_test, type: :boolean, schema_info: { description: "Whether or not this is a test account" } end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems