Class: GroupOrderArticleSerializer

Inherits:
ActiveModel::Serializer
  • Object
show all
Defined in:
app/serializers/group_order_article_serializer.rb

Instance Method Summary collapse

Instance Method Details

#total_priceObject



5
6
7
# File 'app/serializers/group_order_article_serializer.rb', line 5

def total_price
  object.total_price.to_f
end