Class: SalesforceAdapter::Property::Serial

Inherits:
DataMapper::Property::String
  • Object
show all
Defined in:
lib/dm-salesforce-adapter/property/serial.rb

Instance Method Summary collapse

Instance Method Details

#dump(value) ⇒ Object



8
9
10
# File 'lib/dm-salesforce-adapter/property/serial.rb', line 8

def dump(value)
  value[0..17] unless value.blank?
end