Sha256: a04809af077fa6c41a7c110d670e7572be04f6ff658f9149d915c07720f2ebe5
Contents?: true
Size: 502 Bytes
Versions: 33
Compression:
Stored size: 502 Bytes
Contents
require 'jsonapi-serializers' class ForestLiana::CollectionSerializer include JSONAPI::Serializer attribute :name attribute :display_name attribute :icon attribute :fields attribute :only_for_relationships attribute :is_virtual attribute :is_read_only attribute :is_searchable attribute :pagination_type has_many :actions do object.actions end def relationship_related_link(attribute_name) nil end def relationship_self_link(attribute_name) nil end end
Version data entries
33 entries across 33 versions & 1 rubygems