Class: Vorpal::BelongsToConfig

Inherits:
Object
  • Object
show all
Includes:
LocalEndConfig, ToOneConfig, Util::HashInitialization
Defined in:
lib/vorpal/configs.rb

Instance Attribute Summary collapse

Method Summary

Methods included from ToOneConfig

#associate, #get_child

Methods included from LocalEndConfig

#child_config, #fk_value, #set_foreign_key

Methods included from Util::HashInitialization

#initialize

Instance Attribute Details

#association_configObject

Returns the value of attribute association_config.



294
295
296
# File 'lib/vorpal/configs.rb', line 294

def association_config
  @association_config
end

#child_classesObject (readonly)

Returns the value of attribute child_classes.



293
294
295
# File 'lib/vorpal/configs.rb', line 293

def child_classes
  @child_classes
end

#fkObject (readonly)

Returns the value of attribute fk.



293
294
295
# File 'lib/vorpal/configs.rb', line 293

def fk
  @fk
end

#fk_typeObject (readonly)

Returns the value of attribute fk_type.



293
294
295
# File 'lib/vorpal/configs.rb', line 293

def fk_type
  @fk_type
end

#nameObject (readonly)

Returns the value of attribute name.



293
294
295
# File 'lib/vorpal/configs.rb', line 293

def name
  @name
end

#ownedObject (readonly)

Returns the value of attribute owned.



293
294
295
# File 'lib/vorpal/configs.rb', line 293

def owned
  @owned
end