Method: Hanami::Model::Associations::HasOne#source

Defined in:
lib/hanami/model/associations/has_one.rb

#sourceObject (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.

Since:

  • 1.1.0



25
26
27
# File 'lib/hanami/model/associations/has_one.rb', line 25

def source
  @source
end