Module: Sequencescape::Api::Resource::Attributes

Included in:
Sequencescape::Api::Resource
Defined in:
lib/sequencescape-api/resource/attributes.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) extended(base)



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

def self.extended(base)
  base.class_eval do
    include InstanceMethods
    class_inheritable_reader :defined_attributes
    write_inheritable_attribute(:defined_attributes, Set.new)
  end
end