Class: OrderArticleSerializer

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

Instance Method Summary collapse

Instance Method Details

#priceObject



7
8
9
# File 'app/serializers/order_article_serializer.rb', line 7

def price
  object.price.fc_price.to_f
end