Class: SupplejackApi::SchemaDefinition::Field

Inherits:
SchemaObject
  • Object
show all
Defined in:
app/models/supplejack_api/schema_definition.rb

Constant Summary

Constants inherited from SchemaObject

SchemaObject::ALLOWED_ATTRIBUTES

Instance Attribute Summary

Attributes inherited from SchemaObject

#name

Instance Method Summary collapse

Methods inherited from SchemaObject

#initialize

Constructor Details

This class inherits a constructor from SupplejackApi::SchemaDefinition::SchemaObject

Instance Method Details

#namespace_fieldObject



121
122
123
# File 'app/models/supplejack_api/schema_definition.rb', line 121

def namespace_field
  namespace_field = !!@options[:namespace_field] ? @options[:namespace_field] : @name
end