Active model serializer deprication smash

This commit is contained in:
2015-03-11 07:44:28 +01:00
parent 0a1aa06f2c
commit adff870774
23 changed files with 49 additions and 27 deletions
@@ -1,6 +1,5 @@
class Employees::SupplierSerializer < Qwaiter::Serializer
self.root = :supplier
embed :ids, include: true
attributes :open, :name, :lat, :lng, :time_zone, :address, :house_number, :house_number_addition, :postal_code, :city, :country,
:facebook_promotion_url, :iens_profile, :week_starts_on_monday, :orders_in_process_count, :orders_placed_count
end