Class: Unidom::Accession::PostFulfillment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Unidom::Accession::PostFulfillment
- Includes:
- Common::Concerns::ModelExtension
- Defined in:
- app/models/unidom/accession/post_fulfillment.rb
Overview
Post Fulfillment 是岗位履行。
Class Method Summary collapse
Class Method Details
.fulfill!(fulfiller, fulfilled, opened_at = Time.now) ⇒ Object
15 16 17 |
# File 'app/models/unidom/accession/post_fulfillment.rb', line 15 def self.fulfill!(fulfiller, fulfilled, opened_at = Time.now) self.create! fulfiller: fulfiller, fulfilled: fulfilled, opened_at: opened_at end |