Class: ActiveRecord::Snapshot::Create
- Inherits:
-
Object
- Object
- ActiveRecord::Snapshot::Create
- Defined in:
- lib/active_record/snapshot/actions/create.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name: nil) ⇒ Create
constructor
A new instance of Create.
Constructor Details
Class Method Details
.call(*args) ⇒ Object
6 7 8 |
# File 'lib/active_record/snapshot/actions/create.rb', line 6 def self.call(*args) new(*args).call end |