Class: Platforms::Yammer::Api::OpenGraphObjects
- Defined in:
- lib/platforms/yammer/api/open_graph_objects.rb
Overview
Open Graph Objects in Yammer
This is read-only through the API.
Instance Method Summary collapse
-
#get(url, options = {}, headers = {}) ⇒ Faraday::Response
Get open graph obects URL is actually a required parameter so require that when calling this function.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Platforms::Yammer::Api::Base
Instance Method Details
#get(url, options = {}, headers = {}) ⇒ Faraday::Response
Get open graph obects URL is actually a required parameter so require that when calling this function.
20 21 22 23 |
# File 'lib/platforms/yammer/api/open_graph_objects.rb', line 20 def get url, ={}, headers={} params = .merge({url: url}) @connection.get 'open_graph_objects.json', params, headers end |