Class: Zaikio::Procurement::MaterialRequirement
- Defined in:
- lib/zaikio/procurement/material_requirement.rb
Instance Method Summary collapse
Instance Method Details
#archive ⇒ Object
22 23 24 25 26 |
# File 'lib/zaikio/procurement/material_requirement.rb', line 22 def archive Zaikio::Procurement::MaterialRequirement.new( self.class.request(:patch, "#{collection_name}/#{id}/archive").data ) end |
#refresh ⇒ Object
28 29 30 31 32 |
# File 'lib/zaikio/procurement/material_requirement.rb', line 28 def refresh Zaikio::Procurement::MaterialRequirement.new( self.class.request(:patch, "#{collection_name}/#{id}/refresh").data ) end |