README.md in json_api_client-1.14.1 vs README.md in json_api_client-1.15.0
- old
+ new
@@ -164,11 +164,11 @@
class Account < JsonApiClient::Resource
belongs_to :user
end
class Customer < JsonApiClient::Resource
- belongs_to :user, shallow_path: true
- end
+ belongs_to :user, shallow_path: true
+ end
end
# try to find without the nested parameter
MyApi::Account.find(1)
# => raises ArgumentError