lib/helium/user.rb in helium-ruby-0.16.0 vs lib/helium/user.rb in helium-ruby-0.17.0
- old
+ new
@@ -9,9 +9,13 @@
@name = @params.dig('attributes', 'name')
@email = @params.dig('meta', 'email')
@pending_invite = @params.dig('meta', 'pending_invite')
end
+ def resource_path
+ "/user"
+ end
+
# TODO can probably generalize this a bit more
def as_json
super.merge({
name: name,
email: email,