Sha256: 1722f0459e371aae1ec5b5014a8aca766927611d56e2453462fde5e8bf28cff3
Contents?: true
Size: 578 Bytes
Versions: 40
Compression:
Stored size: 578 Bytes
Contents
require 'jsonapi-serializers' class ForestLiana::CollectionSerializer include JSONAPI::Serializer attribute :name 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
40 entries across 40 versions & 1 rubygems