Class: V1::TagSetResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::TagSetResource
- Defined in:
- app/resources/v1/tag_set_resource.rb
Overview
This documentation does not yet include a detailed description of what this resource represents.
This documentation does not yet include detailed descriptions for relationships, attributes and filters.
This documentation does not yet include any example usage of the API via cURL or similar.
Access this resource via the /v1/tag_sets
endpoint.
Provides a JSON:API representation of TagSet.
For more information about JSON:API see the JSON:API Specifications or look at the JSONAPI::Resources package for the service implementation of the JSON:API standard.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the tag set.
-
#pipeline ⇒ String
The pipeline associated with the tag set.
-
#uuid ⇒ String
The UUID of the tag set.
Class Method Summary collapse
Instance Attribute Details
#name ⇒ String
Returns the name of the tag set.
22 |
# File 'app/resources/v1/tag_set_resource.rb', line 22 attributes :name, :uuid, :pipeline |
#pipeline ⇒ String
Returns the pipeline associated with the tag set.
22 |
# File 'app/resources/v1/tag_set_resource.rb', line 22 attributes :name, :uuid, :pipeline |
#uuid ⇒ String
Returns the UUID of the tag set.
22 |
# File 'app/resources/v1/tag_set_resource.rb', line 22 attributes :name, :uuid, :pipeline |
Class Method Details
.records(options = {}) ⇒ Object
28 29 30 |
# File 'app/resources/v1/tag_set_resource.rb', line 28 def self.records( = {}) super.where(active: true) end |