class Economic::CreditorContactProxy
Public Instance Methods
find_by_name(name)
click to toggle source
Returns CreditorContact
that have the given name. The objects will only be partially loaded
# File lib/economic/proxies/creditor_contact_proxy.rb, line 9 def find_by_name(name) Proxies::Actions::FindByName.new(self, name).call end
Private Instance Methods
initialize_properties_with_values_from_owner(contact)
click to toggle source
Initialize properties in contact with values from owner. Returns contact.
# File lib/economic/proxies/creditor_contact_proxy.rb, line 16 def initialize_properties_with_values_from_owner(contact) if owner.is_a?(Creditor) contact.creditor = owner end contact end