Module: Elasticsearch::Resources::Describable::ClassMethods

Defined in:
lib/elasticsearch/resources/describable.rb

Instance Method Summary collapse

Instance Method Details

#attributesObject



10
11
12
# File 'lib/elasticsearch/resources/describable.rb', line 10

def attributes
  @attributes ||= superclass.respond_to?(:attributes) ? superclass.attributes.dup : []
end