Method: Orchestrate::Client#put_relation
- Defined in:
- lib/orchestrate/client.rb
#put_relation(collection, key, kind, to_collection, to_key) ⇒ Object
Creates a relationship between two Key/Value objects. Relations can span collections.
386 387 388 |
# File 'lib/orchestrate/client.rb', line 386 def put_relation(collection, key, kind, to_collection, to_key) send_request :put, [collection, key, 'relation', kind, to_collection, to_key], { body: {} } end |