Sha256: 764452481a38099f2327982f01aa30e057bafd7155a7f570618c16b8a046278f
Contents?: true
Size: 669 Bytes
Versions: 91
Compression:
Stored size: 669 Bytes
Contents
require 'jsonapi-serializers' class ForestLiana::CollectionSerializer include JSONAPI::Serializer attribute :name attribute :name_old # TODO: Remove once lianas prior to 2.0.0 are not supported anymore. attribute :display_name attribute :icon attribute :integration 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 has_many :segments do object.segments end def relationship_related_link(attribute_name) nil end def relationship_self_link(attribute_name) nil end end
Version data entries
91 entries across 91 versions & 1 rubygems