Module: ActiveMocker::ActiveRecord::Relationships::ClassMethods Private

Defined in:
lib/active_mocker/active_record/relationships.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#belongs_toObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/active_mocker/active_record/relationships.rb', line 14

def belongs_to
  @belongs_to
end

#has_and_belongs_to_manyObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/active_mocker/active_record/relationships.rb', line 14

def has_and_belongs_to_many
  @has_and_belongs_to_many
end

#has_manyObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/active_mocker/active_record/relationships.rb', line 14

def has_many
  @has_many
end

#has_oneObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/active_mocker/active_record/relationships.rb', line 14

def has_one
  @has_one
end