End of evening commit, changing supplier to JSONAPI
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
class Suppliers::SectionElementSerializer < Qwaiter::Serializer
|
||||
attributes :name, :box_width, :box_height, :dpm, :svg, :position_x, :position_y, :rotation, :section_id
|
||||
attributes :name, :box_width, :box_height, :dpm, :svg, :position_x, :position_y, :rotation
|
||||
has_one :section, serializer: Suppliers::SectionSerializer
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user