Class: Economic::OrderProxy

Inherits:
EntityProxy show all
Includes:
FindByDateInterval, FindByHandleWithNumber
Defined in:
lib/economic/proxies/order_proxy.rb

Instance Attribute Summary

Attributes inherited from EntityProxy

#owner

Instance Method Summary collapse

Methods included from FindByDateInterval

#find_by_date_interval

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



10
11
12
13
14
15
16
# File 'lib/economic/proxies/order_proxy.rb', line 10

def find(handle)
  if handle.is_a?(Hash)
    super handle
  else
    super({:id => handle})
  end
end