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

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