Class: UserFieldSerializer
- Inherits:
-
ApplicationSerializer
- Object
- ActiveModel::Serializer
- ApplicationSerializer
- UserFieldSerializer
- Defined in:
- app/serializers/user_field_serializer.rb
Instance Method Summary collapse
Methods inherited from ApplicationSerializer
expire_cache_fragment!, fragment_cache
Methods inherited from ActiveModel::Serializer
Instance Method Details
#include_options? ⇒ Boolean
20 21 22 |
# File 'app/serializers/user_field_serializer.rb', line 20 def .present? end |
#options ⇒ Object
16 17 18 |
# File 'app/serializers/user_field_serializer.rb', line 16 def object..pluck(:value) end |