Class: EntitySchema::Fields::Specifications::FkBelongsTo

Inherits:
Common
  • Object
show all
Defined in:
lib/entity_schema/fields/specifications/fk_belongs_to.rb

Instance Attribute Summary

Attributes inherited from Abstract

#name, #src_key

Instance Method Summary collapse

Methods inherited from Abstract

#get, #given?, #initialize, #public_get, #public_getter?, #public_set, #public_setter?, #serialize, #set

Constructor Details

This class inherits a constructor from EntitySchema::Fields::Abstract

Instance Method Details

#transform_options(_name, _owner, _options) ⇒ Object



9
10
11
# File 'lib/entity_schema/fields/specifications/fk_belongs_to.rb', line 9

def transform_options(_name, _owner, _options)
  super.merge!(predicate: false)
end