Module: Sequencescape::Api::Associations

Included in:
Resource
Defined in:
lib/sequencescape-api/associations.rb

Defined Under Namespace

Modules: BelongsTo, HasMany, InstanceMethods Classes: Base

Class Method Summary (collapse)

Class Method Details

+ (Object) extended(base)



5
6
7
8
9
10
11
# File 'lib/sequencescape-api/associations.rb', line 5

def self.extended(base)
  base.class_eval do
    include InstanceMethods
    extend HasMany
    extend BelongsTo
  end
end