lib/jsonapi/resource.rb in jsonapi-resources-0.10.7 vs lib/jsonapi/resource.rb in jsonapi-resources-0.11.0.beta2
- old
+ new
@@ -1,5 +1,10 @@
+# frozen_string_literal: true
+
module JSONAPI
- class Resource < ActiveRelationResource
+ class Resource
+ include ResourceCommon
root_resource
+ abstract
+ immutable
end
-end
\ No newline at end of file
+end