7 lines
144 B
Ruby
7 lines
144 B
Ruby
class Champs::IntegerNumberChampSerializer < ChampSerializer
|
|
def value
|
|
if object.value.present?
|
|
object.value.to_i
|
|
end
|
|
end
|
|
end
|