active_model_serializers api code example
Example: active model serializer
gem 'active_model_serializers'
add this to your gemfile in rails, then run bundle install.
gem 'active_model_serializers'
add this to your gemfile in rails, then run bundle install.