API de comptabilité horaire.
Ви не можете вибрати більше 25 тем Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

activity_serializer.rb 202B

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