feat: Add APIs for custom attribute definitions (#2689)

This commit is contained in:
Pranav Raj S
2021-07-23 17:04:33 +05:30
committed by GitHub
parent 7e0937f3ed
commit 6e1493501a
13 changed files with 284 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
# frozen_string_literal: true
FactoryBot.define do
factory :custom_attribute_definition do
sequence(:attribute_display_name) { |n| "Custom Attribute Definition #{n}" }
sequence(:attribute_key) { |n| "custom_attribute_#{n}" }
attribute_display_type { 1 }
attribute_model { 0 }
default_value { nil }
account
end
end