Module: LexxyVariables::Attachable

Extended by:
ActiveSupport::Concern
Defined in:
lib/lexxy_variables/attachable.rb

Overview

Convenience for hosts whose variable objects are not already Action Text attachables. Include it and set attachable_content_type so chips carry a real sgid and the pipeline can match them. Models that already include ActionText::Attachable do not need this.

Instance Method Summary collapse

Instance Method Details

#attachable_content_typeObject



13
14
15
# File 'lib/lexxy_variables/attachable.rb', line 13

def attachable_content_type
  LexxyVariables::VARIABLE_CONTENT_TYPE
end