API de comptabilité horaire.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

task_serializer.rb 201B

123456
  1. class TaskSerializer
  2. include JSONAPI::Serializer
  3. attributes :name, :description, :user_id, :activity_id
  4. cache_options store: Rails.cache, namespace: 'jsonapi-serializer', expires_in: 1.hour
  5. end