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 238B

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