Module: Unidom::Stapar::Concerns::AsFeature::ClassMethods
- Defined in:
- app/models/unidom/stapar/concerns/as_feature.rb
Instance Method Summary collapse
Instance Method Details
#classify!(sample, by: nil, extracted: nil, into: nil, at: Time.now) ⇒ Object
25 26 27 |
# File 'app/models/unidom/stapar/concerns/as_feature.rb', line 25 def classify!(sample, by: nil, extracted: nil, into: nil, at: Time.now) create! sample: sample, classifier: by, extracted_link: extracted, feature_link: into, opened_at: at end |