Class: Economic::DebtorContactProxy
- Inherits:
-
EntityProxy
- Object
- EntityProxy
- Economic::DebtorContactProxy
- Defined in:
- lib/economic/proxies/debtor_contact_proxy.rb
Instance Attribute Summary
Attributes inherited from EntityProxy
Instance Method Summary collapse
- #all ⇒ Object
-
#find_by_name(name) ⇒ Object
Returns DebtorContact that have the given name.
Methods inherited from EntityProxy
#append, #build, entity_class, #entity_class, entity_class_name, #entity_class_name, #find, #get_data, #initialize, #session
Constructor Details
This class inherits a constructor from Economic::EntityProxy
Instance Method Details
#all ⇒ Object
13 14 15 |
# File 'lib/economic/proxies/debtor_contact_proxy.rb', line 13 def all Proxies::Actions::DebtorContact::All.new(self).call end |
#find_by_name(name) ⇒ Object
Returns DebtorContact that have the given name. The objects will only be partially loaded
9 10 11 |
# File 'lib/economic/proxies/debtor_contact_proxy.rb', line 9 def find_by_name(name) Proxies::Actions::FindByName.new(self, name).call end |