Style proxy order serializer

This commit is contained in:
Maikel Linke
2018-08-03 15:07:22 +10:00
parent b736560d63
commit f0be8ff290

View File

@@ -5,7 +5,7 @@ module Api
attributes :update_issues
def total
return unless object.total.present?
return if object.total.blank?
object.total.to_money.to_s
end