Module: Api::BatchIo::Extensions
- Included in:
- Batch
- Defined in:
- app/models/api/batch_io.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'app/models/api/batch_io.rb', line 12 def self.included(base) base.class_eval do extend ClassMethods scope :including_associations_for_json, lambda { includes([:uuid_object, :user, :assignee, { pipeline: :uuid_object }]) } end end |