Sha256: 27395b0cd55c4da904ee6c20a09753cea4576d22c95664c498fb6ecc2416357f
Contents?: true
Size: 327 Bytes
Versions: 13
Compression:
Stored size: 327 Bytes
Contents
module Neo4j module MetaModel class HasAssociationSerializer < ActiveModel::Serializer attributes :id, :join_type, :name, :opposite_name, :relationship_type, :from_model, :to_model def from_model object.from_node.id end def to_model object.to_node.id end end end end
Version data entries
13 entries across 13 versions & 1 rubygems