End of evening commit, changing supplier to JSONAPI
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
class Suppliers::SectionAreaSerializer < Qwaiter::Serializer
|
||||
attributes :title, :width, :height, :position_x, :position_y, :section_id, :rounded
|
||||
class Suppliers::SectionAreaSerializer
|
||||
include Qwaiter::SupplierBaseSerializer
|
||||
attributes :title, :width, :height, :position_x, :position_y, :rounded
|
||||
has_one :section, serializer: Suppliers::SectionSerializer
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user