lib/restpack_serializer/serializable.rb in restpack_serializer-0.4.12 vs lib/restpack_serializer/serializable.rb in restpack_serializer-0.4.13
- old
+ new
@@ -2,10 +2,11 @@
require_relative "options"
require_relative "serializable/attributes"
require_relative "serializable/filterable"
require_relative "serializable/paging"
require_relative "serializable/resource"
+require_relative "serializable/single"
require_relative "serializable/side_loading"
module RestPack
module Serializer
extend ActiveSupport::Concern
@@ -18,9 +19,10 @@
@@class_map[identifier.split('::').last] = self
end
include RestPack::Serializer::Paging
include RestPack::Serializer::Resource
+ include RestPack::Serializer::Single
include RestPack::Serializer::Attributes
include RestPack::Serializer::Filterable
include RestPack::Serializer::SideLoading
class InvalidInclude < Exception; end