Files
ubicloud/serializers/account.rb
Burak Yucesoy 69ecb12e8d Combine all serializers under top level namespace
We merged all web and api serializers. There is no need for separate namespaces
anymore.
2024-05-28 21:42:31 +03:00

12 lines
204 B
Ruby

# frozen_string_literal: true
class Serializers::Account < Serializers::Base
def self.serialize_internal(a, options = {})
{
id: a.id,
ubid: a.ubid,
email: a.email
}
end
end