Class: UserSummarySerializer::LinkSerializer

Inherits:
ApplicationSerializer show all
Defined in:
app/serializers/user_summary_serializer.rb

Instance Method Summary collapse

Methods inherited from ApplicationSerializer

expire_cache_fragment!, fragment_cache

Methods inherited from ActiveModel::Serializer

#include!

Instance Method Details

#post_numberObject



17
18
19
# File 'app/serializers/user_summary_serializer.rb', line 17

def post_number
  object.post.post_number
end