519 520 521
# File 'lib/jsonapi/resource.rb', line 519 def has_one(*attrs) _add_relationship(Relationship::ToOne, *attrs) end