Module: TmsBridge::ModelSupport

Defined in:
lib/tms_bridge/model_support.rb

Instance Method Summary collapse

Instance Method Details

#published_attribute_namesObject



3
4
5
6
7
8
# File 'lib/tms_bridge/model_support.rb', line 3

def published_attribute_names
  _attributes_names = self.column_names - %w{id created_at updated_at}
  _attributes_names+=self.attribute_aliases.keys
  _attributes_names+=self.monetized_attributes.keys
  return _attributes_names.compact.map(&:to_s).uniq
end