Sha256: bda1a075c1963d3891e24f674591beb38bd7cb62be6c5a6ab966488f1a040fd0
Contents?: true
Size: 134 Bytes
Versions: 4
Compression:
Stored size: 134 Bytes
Contents
class CommentSerializer < ActiveModel::Serializer attributes :id, :title, :body, :post_id has_one :author, class_name: 'User' end
Version data entries
4 entries across 4 versions & 1 rubygems