Sha256: 14f11821d01856fbdb5afc99429dcd9a1c11f8d79542fc6615da95da458e3687
Contents?: true
Size: 429 Bytes
Versions: 46
Compression:
Stored size: 429 Bytes
Contents
require 'jsonapi-serializers' class ForestLiana::CollectionSerializer include JSONAPI::Serializer attribute :name attribute :fields attribute :only_for_relationships attribute :is_virtual attribute :is_read_only attribute :is_searchable 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
46 entries across 46 versions & 1 rubygems