Class: DataMapper::Salesforce::Types::Serial

Inherits:
DataMapper::Salesforce::Type show all
Defined in:
lib/dm-salesforce/types/serial.rb

Class Method Summary collapse

Class Method Details

.dump(value, property) ⇒ Object



9
10
11
# File 'lib/dm-salesforce/types/serial.rb', line 9

def self.dump(value, property)
  value[0..14] unless value.blank?
end