Skip to content

Commit 3c8f4d2

Browse files
authored
Merge pull request #361 from mqchau/callSuperFromInheritedMethod
call super from inherited method so that it will execute parent classes' implementations
2 parents 7b7e8ec + 3f38611 commit 3c8f4d2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- [#361](https://github.com/JsonApiClient/json_api_client/pull/361) - Call super from inherited method so that it will execute parent classes' implementations
6+
57
## 1.16.0
68

79
- [#359](https://github.com/JsonApiClient/json_api_client/pull/359) - Support gzip content encoding

lib/json_api_client/resource.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def immutable(flag = true)
109109

110110
def inherited(subclass)
111111
subclass._immutable = false
112+
super
112113
end
113114

114115
# Specifies the relative path that should be used for this resource;

0 commit comments

Comments
 (0)