2016-02-26 12:17:41 +01:00
|
|
|
class PieceJustificativeSerializer < ActiveModel::Serializer
|
2016-03-14 17:30:22 +01:00
|
|
|
attributes :created_at,
|
2016-03-17 17:33:38 +01:00
|
|
|
:type_de_piece_justificative_id,
|
2016-03-14 17:30:22 +01:00
|
|
|
:content_url => :url
|
2016-02-26 12:17:41 +01:00
|
|
|
|
2016-03-17 17:33:38 +01:00
|
|
|
has_one :user
|
2016-02-26 12:17:41 +01:00
|
|
|
end
|