Class: Platforms::Yammer::Api::Relationships
- Defined in:
- lib/platforms/yammer/api/relationships.rb
Overview
TODO:
confirm documentation, which currently (2020-03-25) is confused
Relationships in Yammer around parameters and mentions updating relationships as part of a GET request
Instance Method Summary collapse
-
#get(options = {}, headers = {}) ⇒ Faraday::Response
Get relationships.
-
#post(options = {}, headers = {}) ⇒ Faraday::Response
Update relationships.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Platforms::Yammer::Api::Base
Instance Method Details
#get(options = {}, headers = {}) ⇒ Faraday::Response
Get relationships
18 19 20 |
# File 'lib/platforms/yammer/api/relationships.rb', line 18 def get ={}, headers={} @connection.get 'relationships.json', , headers end |
#post(options = {}, headers = {}) ⇒ Faraday::Response
Update relationships
It is unclear how exactly this works with subordinates, and “all three can be passed in one request”.
32 33 34 |
# File 'lib/platforms/yammer/api/relationships.rb', line 32 def post ={}, headers={} @connection.post 'relationships.json', , headers end |