sanger/sequencescape

View on GitHub
app/api/model_extensions/tube.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
# Included in {Tube}
# The intent of this file was to provide methods specific to the V1 API
module ModelExtensions::Tube
  def self.included(base)
    base.class_eval { scope :include_purpose, -> { includes(:purpose) } }
  end
end