-
Notifications
You must be signed in to change notification settings - Fork 33
/
plate_template_resource.rb
37 lines (29 loc) · 1.2 KB
/
plate_template_resource.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# frozen_string_literal: true
module Api
module V2
# @todo This documentation does not yet include a detailed description of what this resource represents.
# @todo This documentation does not yet include detailed descriptions for relationships, attributes and filters.
# @todo This documentation does not yet include any example usage of the API via cURL or similar.
#
# @note Access this resource via the `/api/v2/plate_templates/` endpoint.
#
# Provides a JSON:API representation of {PlateTemplate}.
#
# For more information about JSON:API see the [JSON:API Specifications](https://jsonapi.org/format/)
# or look at the [JSONAPI::Resources](http://jsonapi-resources.com/) package for Sequencescape's implementation
# of the JSON:API standard.
class PlateTemplateResource < BaseResource
# Constants...
# model_name / model_hint if required
default_includes :uuid_object
# Associations:
# Attributes
attribute :uuid, readonly: true
# Filters
# Custom methods
# These shouldn't be used for business logic, and a more about
# I/O and isolating implementation details.
# Class method overrides
end
end
end