class ActiveZuora::IntegerField
Public Instance Methods
type_cast(value)
click to toggle source
# File lib/active_zuora/fields/integer_field.rb, line 4 def type_cast(value) return value if value.nil? || value.is_a?(Integer) return value.to_i if value.respond_to?(:to_i) default end