Class: V1::Ont::TagResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/ont/tag_resource.rb

Overview

Note:

This resource cannot be accessed via the /v1/ont/tags/ endpoint.

Provides a JSON:API representation of Ont::Tag.

It is only accessible via the nested route under Ont::TagSet using includes.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idInteger

Returns the group identifier for the tag.

Returns:

  • (Integer)

    the group identifier for the tag



17
# File 'app/resources/v1/ont/tag_resource.rb', line 17

attributes :oligo, :group_id

#oligoString

Returns the oligo sequence of the tag.

Returns:

  • (String)

    the oligo sequence of the tag



17
# File 'app/resources/v1/ont/tag_resource.rb', line 17

attributes :oligo, :group_id