app/representers/openstax/accounts/api/v1/account_representer.rb in openstax_accounts-9.1.0 vs app/representers/openstax/accounts/api/v1/account_representer.rb in openstax_accounts-9.2.0
- old
+ new
@@ -3,11 +3,10 @@
module OpenStax
module Accounts
module Api
module V1
class AccountRepresenter < 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!
# Otherwise, this representer can be used directly or subclassed
@@ -87,24 +86,29 @@
}
property :uuid,
type: String,
schema_info: {
- description: "The UUID as set by Accounts"
+ description: 'The UUID as set by Accounts'
}
property :support_identifier,
type: String,
schema_info: {
- description: "The support_identifier as set by Accounts"
+ description: 'The support_identifier as set by Accounts'
}
property :is_test,
type: :boolean,
schema_info: {
- description: "Whether or not this is a test account"
+ description: 'Whether or not this is a test account'
}
+ property :is_kip,
+ type: :boolean,
+ schema_info: {
+ description: 'Whether or not this is a Key Institutional Partner account'
+ }
end
end
end
end
end