class AccountSerializer < ActiveModel::Serializer
  attributes :id, :first_name, :last_name, :company, :slug, :account_type
  has_many :phones
  has_many :addresses
end

class AccountSerializer < ActiveModel::Serializer
  attributes :id, :first_name, :last_name, :company, :slug, :account_type
  has_many :orders
  has_one :user
end

Add orders and user to Account serializer
Add orders and user to Account serializer
