Method: Dynamoid::Associations::SingleAssociation#method_missing

Defined in:
lib/dynamoid/associations/single_association.rb

#method_missing(method, *args) ⇒ Object

Delegate methods we don’t find directly to the target.

Since:

  • 0.2.0



48
49
50
51
52
53
54
# File 'lib/dynamoid/associations/single_association.rb', line 48

def method_missing(method, *args)
  if target.respond_to?(method)
    target.send(method, *args)
  else
    super
  end
end