about summary refs log tree commit diff
path: root/app/models/account_suggestions/suggestion.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/account_suggestions/suggestion.rb')
-rw-r--r--app/models/account_suggestions/suggestion.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/account_suggestions/suggestion.rb b/app/models/account_suggestions/suggestion.rb
new file mode 100644
index 000000000..2c6f4d27f
--- /dev/null
+++ b/app/models/account_suggestions/suggestion.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AccountSuggestions::Suggestion < ActiveModelSerializers::Model
+  attributes :account, :source
+
+  delegate :id, to: :account, prefix: true
+end