Methods
Instance Public methods
references()
Link
Source: show
# File rhino/rhino/lib/rhino/resource/reference.rb 25 def references 26 self._references # rubocop:disable Style/RedundantSelf 27 end
references_for_serialization()
Link
Source: show
# File rhino/rhino/lib/rhino/resource/reference.rb 13 def references_for_serialization 14 raise NotImplementedError, '#references_for_serialization is not implemented' 15 end
rhino_references(references)
Link
Source: show
# File rhino/rhino/lib/rhino/resource/reference.rb 19 def rhino_references(references) 20 raise "rhino_references called multiple times for #{model_name}" if self._references.present? # rubocop:disable Style/RedundantSelf 21 22 self._references = references 23 end