Class: Economic::CurrentInvoiceLineProxy

Inherits:
EntityProxy show all
Defined in:
lib/economic/proxies/current_invoice_line_proxy.rb

Instance Attribute Summary

Attributes inherited from EntityProxy

#owner

Instance Method Summary collapse

Methods inherited from EntityProxy

#all, #append, #build, entity_class, #entity_class, entity_class_name, #entity_class_name, #get_data, #initialize, #session

Constructor Details

This class inherits a constructor from Economic::EntityProxy

Instance Method Details

#find(handle) ⇒ Object

Gets data for CurrentInvoiceLine from the API



8
9
10
11
# File 'lib/economic/proxies/current_invoice_line_proxy.rb', line 8

def find(handle)
  handle = Entity::Handle.build(:number => handle) unless handle.is_a?(Entity::Handle)
  super(handle)
end