Sha256: 380db1a7016919486bbc09aa454978d759dc5ac4e970d8df01fc7d5a4deb300b
Contents?: true
Size: 350 Bytes
Versions: 40
Compression:
Stored size: 350 Bytes
Contents
module Arrest class Ref include HasAttributes attribute :id, String attribute :type, String end class PolymorphicAttribute < NestedAttribute def initialize name, read_only super name, read_only, Ref end def from_hash(parent, value) return nil unless value != nil @clazz.new(value) end end end
Version data entries
40 entries across 40 versions & 1 rubygems