Class: RelaxDB::ReferencesProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/relaxdb/references_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, relationship) ⇒ ReferencesProxy

Returns a new instance of ReferencesProxy.



7
8
9
10
11
# File 'lib/relaxdb/references_proxy.rb', line 7

def initialize(client, relationship)
  @client = client
  @relationship = relationship
  @target = nil
end

Instance Attribute Details

#targetObject

Returns the value of attribute target.



5
6
7
# File 'lib/relaxdb/references_proxy.rb', line 5

def target
  @target
end