Commit c439948
committed
Consistently return from
So that the last line of the method body is the value being returned.
Note that in the case of `.create_safeguarding_flag` and
`.delete_safeguarding_flag` we return nil to indicate a successful
response so the conditional `raise` appears on the last line of the
method body.ProfileApiClient methods1 parent 29416f0 commit c439948
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 138 | + | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 144 | + | |
149 | 145 | | |
150 | 146 | | |
151 | 147 | | |
| |||
0 commit comments