Class: LucidWorks::Schema::CustomAttribute

Inherits:
Attribute
  • Object
show all
Defined in:
lib/lucid_works/schema/custom_attribute.rb

Constant Summary

Constants inherited from Attribute

Attribute::ATTRIBUTES_TYPES, Attribute::RESERVED_ATTRIBUTE_NAMES

Instance Attribute Summary

Attributes inherited from Attribute

#name, #origin, #schema, #values

Instance Method Summary collapse

Methods inherited from Attribute

#encode_and_insert, factory, #human_value, #initialize, #nil_when_blank?, #omit_during_update?, #omit_when_blank?, sanitize_name, #to_select

Constructor Details

This class inherits a constructor from LucidWorks::Schema::Attribute

Instance Method Details

#create_accessors_for_attribute(klass) ⇒ Object

:nodoc:



10
11
12
# File 'lib/lucid_works/schema/custom_attribute.rb', line 10

def create_accessors_for_attribute(klass) # :nodoc:
  # Do nothing.  Developer will provide own accessors.
end

#typeObject



6
7
8
# File 'lib/lucid_works/schema/custom_attribute.rb', line 6

def type
  :custom
end