Module: Mobility::Backends::HashValued::ClassMethods

Defined in:
lib/mobility/backends/hash_valued.rb

Instance Method Summary collapse

Instance Method Details

#configure(options) ⇒ Object



43
44
45
# File 'lib/mobility/backends/hash_valued.rb', line 43

def configure(options)
  options[:column_affix] = "#{options[:column_prefix]}%s#{options[:column_suffix]}"
end

#valid_keysObject



39
40
41
# File 'lib/mobility/backends/hash_valued.rb', line 39

def valid_keys
  [:column_prefix, :column_suffix]
end