Class: BulkActionDocument
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- BulkActionDocument
- Defined in:
- app/models/bulk_action_document.rb
Overview
BulkActionDocument class
Instance Method Summary collapse
- #state_machine ⇒ Object
-
#to_hash ⇒ Object
@TODO: Needed?.
Instance Method Details
#state_machine ⇒ Object
12 13 14 |
# File 'app/models/bulk_action_document.rb', line 12 def state_machine @state_machine ||= BulkActionDocumentStateMachine.new(self, transition_class: BulkActionDocumentTransition) end |
#to_hash ⇒ Object
@TODO: Needed?
17 18 19 20 21 |
# File 'app/models/bulk_action_document.rb', line 17 def to_hash { friendlier_id: friendlier_id } end |