Class: SalesforceRecord::Fields::IntegerField

Inherits:
BaseField
  • Object
show all
Defined in:
lib/salesforce_record/fields.rb

Overview

An integer

Instance Attribute Summary

Attributes inherited from BaseField

#local_name

Instance Method Summary collapse

Methods inherited from BaseField

#alias?, #encode, #initialize, #is_alias_of, #remote_name

Constructor Details

This class inherits a constructor from SalesforceRecord::Fields::BaseField

Instance Method Details

#parse(value) ⇒ Object



73
74
75
# File 'lib/salesforce_record/fields.rb', line 73

def parse(value)
  value.to_i
end