Skip to content

Commit 225c3e3

Browse files
committed
Consitency cleanup
1 parent aa1cfe0 commit 225c3e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jsonapi/resource.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def attribute(attr, options = {})
403403
end unless method_defined?(attr)
404404

405405
define_method "#{attr}=" do |value|
406-
@model.public_send "#{options[:delegate] ? options[:delegate].to_sym : attr}=", value
406+
@model.public_send("#{options[:delegate] ? options[:delegate].to_sym : attr}=", value)
407407
end unless method_defined?("#{attr}=")
408408
end
409409

0 commit comments

Comments
 (0)