Class: V1::Ont::TagSetResource
- Inherits:
-
TagSetResource
- Object
- JSONAPI::Resource
- TagSetResource
- V1::Ont::TagSetResource
- Defined in:
- app/resources/v1/ont/tag_set_resource.rb
Overview
Note:
Access this resource via the /v1/ont/tag_sets/ endpoint.
Provides a JSON:API representation of Ont::TagSet.
Filters: * pipeline - pipeline name (default: ont)
Primary relationships: * tags TagResource - The tags contained in the tag set.
Instance Attribute Summary
Attributes inherited from TagSetResource
Class Method Summary collapse
-
.create_model ⇒ Object
Ensure that any tag sets created via this endpoint are scoped to the ont pipeline.
Methods inherited from TagSetResource
Class Method Details
.create_model ⇒ Object
Ensure that any tag sets created via this endpoint are scoped to the ont pipeline
65 66 67 |
# File 'app/resources/v1/ont/tag_set_resource.rb', line 65 def self.create_model _model_class.ont_pipeline.new end |