Method: Relationships#attach_relationship

Defined in:
lib/user/config/relationships.rb

#attach_relationship(data) ⇒ Object

Attach relationship.

Attach a relationship.

Parameters

data

(Hash) – Data to be submitted.

Example



29
30
31
# File 'lib/user/config/relationships.rb', line 29

def attach_relationship(data) #FIXME: Method doesn't work, RelationshipManager cannot access to id attribute.
    return @client.raw("post", "/config/relationships/attach", nil, data_transform(data))
end