Class: OrderSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- OrderSerializer
- Defined in:
- app/serializers/order_serializer.rb
Instance Method Summary collapse
Instance Method Details
#is_boxfill ⇒ Object
8 9 10 |
# File 'app/serializers/order_serializer.rb', line 8 def is_boxfill object.boxfill? end |
#is_open ⇒ Object
4 5 6 |
# File 'app/serializers/order_serializer.rb', line 4 def is_open object.open? end |