Class: Economic::Orders::Repo
- Defined in:
- lib/economic/orders/repo.rb
Direct Known Subclasses
Constant Summary
Constants inherited from BaseRepo
Class Method Summary collapse
Methods inherited from BaseRepo
destroy, endpoint_url, filter, find, id_to_url_formatted_id, save, send, send_request, updated_after
Class Method Details
.all ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/economic/orders/repo.rb', line 4 def self.all orders = super orders.each do |order| order.remove_instance_variable("@lines") class << order define_method(:lines) { raise NoMethodError } end end orders end |