Class: IdentityCache::Cached::Reference::Association

Inherits:
Association
  • Object
show all
Defined in:
lib/identity_cache/cached/reference/association.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Association

#cached_accessor_name, #name, #records_variable_name, #reflection

Instance Method Summary collapse

Methods inherited from Association

#build, #clear, #embedded?, #fetch, #fetch_async, #initialize, #inverse_name, #read, #validate, #write

Constructor Details

This class inherits a constructor from IdentityCache::Cached::Association

Instance Method Details

#embedded_by_reference?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/identity_cache/cached/reference/association.rb', line 7

def embedded_by_reference?
  true
end

#embedded_recursively?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/identity_cache/cached/reference/association.rb', line 11

def embedded_recursively?
  false
end