Module: ASModel::ClassMethods

Defined in:
backend/app/model/ASModel.rb

Instance Method Summary collapse

Instance Method Details

#top_level?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'backend/app/model/ASModel.rb', line 48

def top_level?
  respond_to?(:has_jsonmodel?) && has_jsonmodel? && my_jsonmodel.schema.has_key?('uri')
end