Class: Zaikio::Warehouse::CallOffAgreement

Inherits:
Base
  • Object
show all
Defined in:
lib/zaikio/warehouse/call_off_agreement.rb

Overview

Instance Method Summary collapse

Methods inherited from Base

disable_http_methods, readonly!, request

Instance Method Details

#reloadObject



16
17
18
# File 'lib/zaikio/warehouse/call_off_agreement.rb', line 16

def reload
  self.attributes = self.class.where(material_id: material.id).find(id).attributes
end