Module: ModelExtensions::BaitLibraryLayout

Included in:
BaitLibraryLayout
Defined in:
app/api/model_extensions/bait_library_layout.rb

Overview

Included in BaitLibraryLayout to provide scopes used by the V1 API

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
# File 'app/api/model_extensions/bait_library_layout.rb', line 4

def self.included(base)
  base.class_eval do
    extend ModelExtensions::Plate::NamedScopeHelpers
    include_plate_named_scope :plate
  end
end