Add section elements
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
class Suppliers::EmployeeSerializer < Qwaiter::Serializer
|
||||
self.root = :employee
|
||||
embed :ids, include: true
|
||||
attributes :name, :email, :manager, :active, :color
|
||||
end
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
class Suppliers::SectionElementSerializer < Qwaiter::Serializer
|
||||
attributes :name, :box_width, :box_height, :dpm, :svg, :position_x, :position_y, :rotation, :section_id
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
class Suppliers::SvgElementSerializer < Qwaiter::Serializer
|
||||
attributes :name, :box_width, :box_height, :dpm, :svg
|
||||
end
|
||||
Reference in New Issue
Block a user