cobudget/cobudget-api

View on GitHub
app/serializers/group_serializer.rb

Summary

Maintainability
A
0 mins
Test Coverage
class GroupSerializer < ActiveModel::Serializer
  embed :ids, include: true
  attributes :id,
             :name,
             :balance,
             :currency_symbol,
             :currency_code,
             :description,
             :is_launched,
             :plan,
             :trial_end,
             :total_in_circulation,
             :ready_to_pay_total,
             :total_allocations,
             :total_contributions,
             :group_account_balance,
             :total_in_unfunded,
             :funding_freeze
end