Class: TopicTimerSerializer

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

Instance Method Summary collapse

Methods inherited from ApplicationSerializer

expire_cache_fragment!, fragment_cache

Methods inherited from ActiveModel::Serializer

#include!

Instance Method Details

#status_typeObject



6
7
8
# File 'app/serializers/topic_timer_serializer.rb', line 6

def status_type
  TopicTimer.types[object.status_type]
end