14 lines
353 B
Ruby
14 lines
353 B
Ruby
object @recurring_donation => :data
|
|
attributes :id, :total_given, :supporter_id, :interval, :time_unit, :designation, :anonymous, :start_date, :end_date, :created_at, :paydate, :edit_token
|
|
|
|
child :donation do
|
|
attributes :amount, :designation
|
|
end
|
|
|
|
child :supporter do
|
|
attributes :name, :email, :id, :anonymous
|
|
end
|
|
|
|
child :card do
|
|
attributes :name
|
|
end
|